Browse code

Fixed R CMD check issues

Irzam Sarfraz authored on 20/12/2021 22:24:01
Showing 1 changed files
... ...
@@ -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
 }
Browse code

Fix bugs in combineSCE. Update SCTK_runQC.R to include an col in colData indicate whether a barcode is a true cell in the cellSCE object. Update QC documentation

rz2333 authored on 22/09/2021 20:21:28
Showing 1 changed files
... ...
@@ -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
Browse code

UI update for previous related DE function update; plus many minor bug fixes

Yichen Wang authored on 17/03/2021 16:51:52
Showing 1 changed files
... ...
@@ -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'.}
Browse code

Update documentation for combineSCE.R

rz2333 authored on 21/10/2020 19:50:42
Showing 1 changed files
... ...
@@ -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
 
Browse code

Add Runnable functions

Yusuke Koga authored on 15/10/2020 16:44:51
Showing 1 changed files
... ...
@@ -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
+}
Browse code

Update combineSCE function to merge metadata slot. Update runBarcodeRank and its plotting function

rz2333 authored on 29/09/2020 03:48:43
Showing 1 changed files
... ...
@@ -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 
Browse code

Organize SCTK_runQC.R and move utility functions into R/sctkQCUtils.R

rz2333 authored on 25/05/2020 17:23:03
Showing 1 changed files
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
+}