Description Usage Arguments Value Examples
View source: R/mergeSCEColData.R
Merges colData of the singleCellExperiment objects obtained from the same dataset which contain differing colData. (i.e. raw data and filtered data)
1 | mergeSCEColData(inSCE1, inSCE2, id1 = "column_name", id2 = "column_name")
|
inSCE1 |
Input SingleCellExperiment object. The function will output this singleCellExperiment object with a combined colData from inSCE1 and inSCE2. |
inSCE2 |
Input SingleCellExperiment object. colData from this object will be merged with colData from inSCE1 and loaded into inSCE1. |
id1 |
Character vector. Column in colData of inSCE1 that will be used to combine inSCE1 and inSCE2. Default "column_name" |
id2 |
Character vector. Column in colData of inSCE2 that will be used to combine inSCE1 and inSCE2. Default "column_name" |
SingleCellExperiment object containing combined colData from both singleCellExperiment for samples in inSCE1.
1 2 3 4 5 6 7 8 | sce1 <- importCellRanger(
cellRangerDirs = system.file("extdata/", package = "singleCellTK"),
sampleDirs = "hgmm_1k_v3_20x20",
sampleNames = "hgmm1kv3",
dataType = "filtered")
data(scExample)
sce2 <- sce
sce <- mergeSCEColData(inSCE1 = sce1, inSCE2 = sce2, id1 = "column_name", id2 = "column_name")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.