... | ... |
@@ -30,5 +30,6 @@ objects in sceList. The colData is merged. |
30 | 30 |
Combine a list of SingleCellExperiment objects as one SingleCellExperiment object |
31 | 31 |
} |
32 | 32 |
\examples{ |
33 |
+data(scExample, package = "singleCellTK") |
|
33 | 34 |
combinedsce <- combineSCE(list(sce,sce), by.r = NULL, by.c = NULL, combined = TRUE) |
34 | 35 |
} |
... | ... |
@@ -4,18 +4,23 @@ |
4 | 4 |
\alias{combineSCE} |
5 | 5 |
\title{Combine a list of SingleCellExperiment objects as one SingleCellExperiment object} |
6 | 6 |
\usage{ |
7 |
-combineSCE(sceList, by.r, by.c, combined) |
|
7 |
+combineSCE(sceList, by.r = NULL, by.c = NULL, combined = TRUE) |
|
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 | 10 |
\item{sceList}{A list contains \link[SingleCellExperiment]{SingleCellExperiment} objects. |
11 | 11 |
Currently, combineSCE function only support combining SCE objects with assay in dgCMatrix format. |
12 | 12 |
It does not support combining SCE with assay in delayedArray format.} |
13 | 13 |
|
14 |
-\item{by.r}{Specifications of the columns used for merging rowData. See 'Details'.} |
|
14 |
+\item{by.r}{Specifications of the columns used for merging rowData. If set as NULL, |
|
15 |
+the rownames of rowData tables will be used to merging rowData. Default is NULL.} |
|
15 | 16 |
|
16 |
-\item{by.c}{Specifications of the columns used for merging colData. See 'Details'.} |
|
17 |
+\item{by.c}{Specifications of the columns used for merging colData. If set as NULL, |
|
18 |
+the rownames of colData tables will be used to merging colData. Default is NULL.} |
|
17 | 19 |
|
18 |
-\item{combined}{logical; if TRUE, it will combine the list of SingleCellExperiment objects. See 'Details'.} |
|
20 |
+\item{combined}{logical; if TRUE, it will combine the list of SingleCellExperiment objects |
|
21 |
+and return a SingleCellExperiment. If FALSE, it will return a list of SingleCellExperiment whose |
|
22 |
+rowData, colData, assay and reducedDim data slot are compatible within SCE objects in the list. |
|
23 |
+Default is TRUE.} |
|
19 | 24 |
} |
20 | 25 |
\value{ |
21 | 26 |
A \link[SingleCellExperiment]{SingleCellExperiment} object which combines all |
... | ... |
@@ -7,8 +7,8 @@ |
7 | 7 |
combineSCE(sceList, by.r, by.c, combined) |
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 |
-\item{sceList}{A list contains \link[SingleCellExperiment]{SingleCellExperiment} objects. |
|
11 |
-Currently, combineSCE function only support combining SCE objects with assay in dgCMatrix format. |
|
10 |
+\item{sceList}{A list contains \link[SingleCellExperiment]{SingleCellExperiment} objects. |
|
11 |
+Currently, combineSCE function only support combining SCE objects with assay in dgCMatrix format. |
|
12 | 12 |
It does not support combining SCE with assay in delayedArray format.} |
13 | 13 |
|
14 | 14 |
\item{by.r}{Specifications of the columns used for merging rowData. See 'Details'.} |
... | ... |
@@ -7,7 +7,9 @@ |
7 | 7 |
combineSCE(sceList, by.r, by.c, combined) |
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 |
-\item{sceList}{A list contains \link[SingleCellExperiment]{SingleCellExperiment} objects} |
|
10 |
+\item{sceList}{A list contains \link[SingleCellExperiment]{SingleCellExperiment} objects. |
|
11 |
+Currently, combineSCE function only support combining SCE objects with assay in dgCMatrix format. |
|
12 |
+It does not support combining SCE with assay in delayedArray format.} |
|
11 | 13 |
|
12 | 14 |
\item{by.r}{Specifications of the columns used for merging rowData. See 'Details'.} |
13 | 15 |
|
... | ... |
@@ -16,9 +16,12 @@ combineSCE(sceList, by.r, by.c, combined) |
16 | 16 |
\item{combined}{logical; if TRUE, it will combine the list of SingleCellExperiment objects. See 'Details'.} |
17 | 17 |
} |
18 | 18 |
\value{ |
19 |
-A \link[SingleCellExperiment]{SingleCellExperiment} object which combines all |
|
19 |
+A \link[SingleCellExperiment]{SingleCellExperiment} object which combines all |
|
20 | 20 |
objects in sceList. The colData is merged. |
21 | 21 |
} |
22 | 22 |
\description{ |
23 | 23 |
Combine a list of SingleCellExperiment objects as one SingleCellExperiment object |
24 | 24 |
} |
25 |
+\examples{ |
|
26 |
+combinedsce <- combineSCE(list(sce,sce), by.r = NULL, by.c = NULL, combined = TRUE) |
|
27 |
+} |
... | ... |
@@ -1,13 +1,19 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/sctkQCUtils.R |
|
2 |
+% Please edit documentation in R/combineSCE.R |
|
3 | 3 |
\name{combineSCE} |
4 | 4 |
\alias{combineSCE} |
5 | 5 |
\title{Combine a list of SingleCellExperiment objects as one SingleCellExperiment object} |
6 | 6 |
\usage{ |
7 |
-combineSCE(sceList) |
|
7 |
+combineSCE(sceList, by.r, by.c, combined) |
|
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 | 10 |
\item{sceList}{A list contains \link[SingleCellExperiment]{SingleCellExperiment} objects} |
11 |
+ |
|
12 |
+\item{by.r}{Specifications of the columns used for merging rowData. See 'Details'.} |
|
13 |
+ |
|
14 |
+\item{by.c}{Specifications of the columns used for merging colData. See 'Details'.} |
|
15 |
+ |
|
16 |
+\item{combined}{logical; if TRUE, it will combine the list of SingleCellExperiment objects. See 'Details'.} |
|
11 | 17 |
} |
12 | 18 |
\value{ |
13 | 19 |
A \link[SingleCellExperiment]{SingleCellExperiment} object which combines all |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,18 @@ |
1 |
+% Generated by roxygen2: do not edit by hand |
|
2 |
+% Please edit documentation in R/sctkQCUtils.R |
|
3 |
+\name{combineSCE} |
|
4 |
+\alias{combineSCE} |
|
5 |
+\title{Combine a list of SingleCellExperiment objects as one SingleCellExperiment object} |
|
6 |
+\usage{ |
|
7 |
+combineSCE(sceList) |
|
8 |
+} |
|
9 |
+\arguments{ |
|
10 |
+\item{sceList}{A list contains \link[SingleCellExperiment]{SingleCellExperiment} objects} |
|
11 |
+} |
|
12 |
+\value{ |
|
13 |
+A \link[SingleCellExperiment]{SingleCellExperiment} object which combines all |
|
14 |
+objects in sceList. The colData is merged. |
|
15 |
+} |
|
16 |
+\description{ |
|
17 |
+Combine a list of SingleCellExperiment objects as one SingleCellExperiment object |
|
18 |
+} |