Browse code

Update dedup functionality for import data functions & update tutorial with VAM

Yichen Wang authored on 22/11/2021 17:57:17
Showing 1 changed files
... ...
@@ -8,7 +8,8 @@ importCellRangerV2Sample(
8 8
   dataDir = NULL,
9 9
   sampleName = NULL,
10 10
   class = c("Matrix", "matrix"),
11
-  delayedArray = FALSE
11
+  delayedArray = FALSE,
12
+  rowNamesDedup = TRUE
12 13
 )
13 14
 }
14 15
 \arguments{
... ...
@@ -24,6 +25,9 @@ object. Can be one of "Matrix" (as returned by
24 25
 
25 26
 \item{delayedArray}{Boolean. Whether to read the expression matrix as
26 27
 \link{DelayedArray} object or not. Default \code{FALSE}.}
28
+
29
+\item{rowNamesDedup}{Boolean. Whether to deduplicate rownames. Default 
30
+\code{TRUE}.}
27 31
 }
28 32
 \value{
29 33
 A \code{SingleCellExperiment} object containing the count
Browse code

Update importMitoGeneSet function. Change delayedArray=False for all import function. Minor fixs in QC HTML report

rz2333 authored on 30/12/2020 17:40:20
Showing 1 changed files
... ...
@@ -8,7 +8,7 @@ importCellRangerV2Sample(
8 8
   dataDir = NULL,
9 9
   sampleName = NULL,
10 10
   class = c("Matrix", "matrix"),
11
-  delayedArray = TRUE
11
+  delayedArray = FALSE
12 12
 )
13 13
 }
14 14
 \arguments{
... ...
@@ -23,7 +23,7 @@ object. Can be one of "Matrix" (as returned by
23 23
 \link[base]{matrix} function). Default "Matrix".}
24 24
 
25 25
 \item{delayedArray}{Boolean. Whether to read the expression matrix as
26
-\link{DelayedArray} object or not. Default \code{TRUE}.}
26
+\link{DelayedArray} object or not. Default \code{FALSE}.}
27 27
 }
28 28
 \value{
29 29
 A \code{SingleCellExperiment} object containing the count
Browse code

Edit links to documentation

unknown authored on 22/10/2020 03:39:09
Showing 1 changed files
... ...
@@ -19,11 +19,11 @@ Default "sample".}
19 19
 
20 20
 \item{class}{Character. The class of the expression matrix stored in the SCE
21 21
 object. Can be one of "Matrix" (as returned by
22
-\link[Matrix]{readMM} function), or "matrix" (as returned by
22
+\link{readMM} function), or "matrix" (as returned by
23 23
 \link[base]{matrix} function). Default "Matrix".}
24 24
 
25 25
 \item{delayedArray}{Boolean. Whether to read the expression matrix as
26
-\link[DelayedArray]{DelayedArray} object or not. Default \code{TRUE}.}
26
+\link{DelayedArray} object or not. Default \code{TRUE}.}
27 27
 }
28 28
 \value{
29 29
 A \code{SingleCellExperiment} object containing the count
Browse code

Update importCellRangerV2 example data

rz2333 authored on 04/05/2020 15:28:25
Showing 1 changed files
... ...
@@ -36,7 +36,7 @@ Read the filtered barcodes, features, and matrices for all
36 36
 }
37 37
 \examples{
38 38
 sce <- importCellRangerV2Sample(
39
-    dataDir = system.file("extdata/pbmc_4k_v2_200x400/outs/",
39
+    dataDir = system.file("extdata/pbmc_4k_v2_20x20/outs/",
40 40
         "filtered_gene_bc_matrices/GRCh38", package = "singleCellTK"),
41
-    sampleName = "pbmc400")
41
+    sampleName = "pbmc4k_20")
42 42
 }
Browse code

Merge conflict

rz2333 authored on 04/05/2020 02:25:09
Showing 1 changed files
... ...
@@ -36,7 +36,7 @@ Read the filtered barcodes, features, and matrices for all
36 36
 }
37 37
 \examples{
38 38
 sce <- importCellRangerV2Sample(
39
-    dataDir = system.file("extdata/pbmc_4k_v2_200x800/pbmc_800/outs/",
39
+    dataDir = system.file("extdata/pbmc_4k_v2_200x400/outs/",
40 40
         "filtered_gene_bc_matrices/GRCh38", package = "singleCellTK"),
41
-    sampleName = "pbmc800")
41
+    sampleName = "pbmc400")
42 42
 }
Browse code

Fix the bug in miscFunction (.convertToMatrix)

rz2333 authored on 23/04/2020 15:33:08
Showing 1 changed files
... ...
@@ -36,7 +36,7 @@ Read the filtered barcodes, features, and matrices for all
36 36
 }
37 37
 \examples{
38 38
 sce <- importCellRangerV2Sample(
39
-    dataDir = system.file("extdata/pbmc_4k_v2_200x800/outs/",
39
+    dataDir = system.file("extdata/pbmc_4k_v2_200x800/pbmc_800/outs/",
40 40
         "filtered_gene_bc_matrices/GRCh38", package = "singleCellTK"),
41 41
     sampleName = "pbmc800")
42 42
 }
Browse code

Fix exportSCEtoAnndata.R

rz2333 authored on 22/04/2020 17:34:30
Showing 1 changed files
... ...
@@ -36,7 +36,7 @@ Read the filtered barcodes, features, and matrices for all
36 36
 }
37 37
 \examples{
38 38
 sce <- importCellRangerV2Sample(
39
-    dataDir = system.file("extdata/pbmc_4k_v2_800/outs/",
39
+    dataDir = system.file("extdata/pbmc_4k_v2_200x800/outs/",
40 40
         "filtered_gene_bc_matrices/GRCh38", package = "singleCellTK"),
41 41
     sampleName = "pbmc800")
42 42
 }
Browse code

Fix importCellRangerV2, importCellRangerV2Sample, exportSCEtoTXT, SCTK_runQC.R and gmt files. Add pbmc800 dataset.

rz2333 authored on 31/03/2020 16:12:52
Showing 1 changed files
... ...
@@ -5,14 +5,14 @@
5 5
 \title{Construct SCE object from Cell Ranger V2 output for a single sample}
6 6
 \usage{
7 7
 importCellRangerV2Sample(
8
-  sampleDir = NULL,
8
+  dataDir = NULL,
9 9
   sampleName = NULL,
10 10
   class = c("Matrix", "matrix"),
11 11
   delayedArray = TRUE
12 12
 )
13 13
 }
14 14
 \arguments{
15
-\item{sampleDir}{A path to the directory containing the data files. Default "./".}
15
+\item{dataDir}{A path to the directory containing the data files. Default "./".}
16 16
 
17 17
 \item{sampleName}{A User-defined sample name. This will be prepended to all cell barcode IDs.
18 18
 Default "sample".}
... ...
@@ -31,6 +31,12 @@ A \code{SingleCellExperiment} object containing the count
31 31
 }
32 32
 \description{
33 33
 Read the filtered barcodes, features, and matrices for all
34
- samples from Cell Ranger V3 output. Files are assumed to be named
34
+ samples from Cell Ranger V2 output. Files are assumed to be named
35 35
  "matrix.mtx", "genes.tsv", and "barcodes.tsv".
36 36
 }
37
+\examples{
38
+sce <- importCellRangerV2Sample(
39
+    dataDir = system.file("extdata/pbmc_4k_v2_800/outs/",
40
+        "filtered_gene_bc_matrices/GRCh38", package = "singleCellTK"),
41
+    sampleName = "pbmc800")
42
+}
Browse code

Updated LIGER function and put correct dependencies in DESCRIPTION. Updated docs

Joshua D. Campbell authored on 06/03/2020 05:15:13
Showing 1 changed files
... ...
@@ -4,8 +4,12 @@
4 4
 \alias{importCellRangerV2Sample}
5 5
 \title{Construct SCE object from Cell Ranger V2 output for a single sample}
6 6
 \usage{
7
-importCellRangerV2Sample(sampleDir = NULL, sampleName = NULL,
8
-  class = c("Matrix", "matrix"), delayedArray = TRUE)
7
+importCellRangerV2Sample(
8
+  sampleDir = NULL,
9
+  sampleName = NULL,
10
+  class = c("Matrix", "matrix"),
11
+  delayedArray = TRUE
12
+)
9 13
 }
10 14
 \arguments{
11 15
 \item{sampleDir}{A path to the directory containing the data files. Default "./".}
Browse code

move to branch

Yichen Wang authored on 04/03/2020 20:32:17
Showing 1 changed files
... ...
@@ -4,12 +4,8 @@
4 4
 \alias{importCellRangerV2Sample}
5 5
 \title{Construct SCE object from Cell Ranger V2 output for a single sample}
6 6
 \usage{
7
-importCellRangerV2Sample(
8
-  sampleDir = NULL,
9
-  sampleName = NULL,
10
-  class = c("Matrix", "matrix"),
11
-  delayedArray = TRUE
12
-)
7
+importCellRangerV2Sample(sampleDir = NULL, sampleName = NULL,
8
+  class = c("Matrix", "matrix"), delayedArray = TRUE)
13 9
 }
14 10
 \arguments{
15 11
 \item{sampleDir}{A path to the directory containing the data files. Default "./".}
Browse code

Fixed errors/warnings in DoubletFinder code. Updated docs. Added documentation for importCellRangerV2/V3Sample functions. Added install of DoubletFinder from github in DESCRIPTION and in .travis.yml

Joshua D. Campbell authored on 15/02/2020 00:05:10
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,36 @@
1
+% Generated by roxygen2: do not edit by hand
2
+% Please edit documentation in R/importCellRanger.R
3
+\name{importCellRangerV2Sample}
4
+\alias{importCellRangerV2Sample}
5
+\title{Construct SCE object from Cell Ranger V2 output for a single sample}
6
+\usage{
7
+importCellRangerV2Sample(
8
+  sampleDir = NULL,
9
+  sampleName = NULL,
10
+  class = c("Matrix", "matrix"),
11
+  delayedArray = TRUE
12
+)
13
+}
14
+\arguments{
15
+\item{sampleDir}{A path to the directory containing the data files. Default "./".}
16
+
17
+\item{sampleName}{A User-defined sample name. This will be prepended to all cell barcode IDs.
18
+Default "sample".}
19
+
20
+\item{class}{Character. The class of the expression matrix stored in the SCE
21
+object. Can be one of "Matrix" (as returned by
22
+\link[Matrix]{readMM} function), or "matrix" (as returned by
23
+\link[base]{matrix} function). Default "Matrix".}
24
+
25
+\item{delayedArray}{Boolean. Whether to read the expression matrix as
26
+\link[DelayedArray]{DelayedArray} object or not. Default \code{TRUE}.}
27
+}
28
+\value{
29
+A \code{SingleCellExperiment} object containing the count
30
+ matrix, the feature annotations, and the cell annotation for the sample.
31
+}
32
+\description{
33
+Read the filtered barcodes, features, and matrices for all
34
+ samples from Cell Ranger V3 output. Files are assumed to be named
35
+ "matrix.mtx", "genes.tsv", and "barcodes.tsv".
36
+}