Description Usage Arguments Value Author(s) See Also Examples
Metadata in columns describing the samples, which are defined in the
rownames. Similar to colData()
, which for bcbioSingleCell
and
SingleCellExperiment
objects describes cells in the columns, rather than
the samples.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## S4 method for signature 'SingleCellExperiment'
sampleData(object, interestingGroups,
clean = TRUE, return = c("DataFrame", "data.frame", "kable"))
## S4 method for signature 'seurat'
sampleData(object, interestingGroups, clean = TRUE,
return = c("DataFrame", "data.frame", "kable"))
## S4 replacement method for signature 'SingleCellExperiment,DataFrame'
sampleData(object) <- value
## S4 replacement method for signature 'seurat,DataFrame'
sampleData(object) <- value
|
object |
Object. |
interestingGroups |
|
clean |
|
return |
Object class to return. Uses |
value |
Value to assign. |
Data describing the samples.
Michael Steinbaugh
Other Data Functions: aggregateReplicates
,
cell2sample
, fetchGeneData
,
mapCellsToSamples
,
metricsPerSample
,
selectSamples
,
subsetPerSample
, topBarcodes
1 2 3 4 5 6 7 8 | # SingleCellExperiment ====
x <- cellranger_small
sampleData(x, clean = FALSE) %>% glimpse()
sampleData(x, clean = TRUE) %>% glimpse()
# Assignment support
sampleData(x)[["batch"]] <- 1L
sampleData(x) %>% glimpse()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.