Description Usage Arguments Value Author(s) See Also Examples
Extract genes by row and samples by column from a bcbioRNASeq
object. The
internal DESeqDataSet
and count transformations are rescaled automatically.
DESeq2 transformations can be disabled on large subset operations by setting
transform = FALSE
.
1 2 |
x |
object from which to extract element(s) or in which to replace element(s). |
i |
indices specifying elements to extract or replace. Indices are
For When indexing arrays by An index value of |
j |
indices specifying elements to extract or replace. Indices are
For When indexing arrays by An index value of |
drop |
For matrices and arrays. If |
bcbioRNASeq
.
Lorena Pantano, Michael Steinbaugh
Other S4 Class Definition: bcbioRNASeq
,
coerce
, show
,
updateObject
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Minimum of 100 genes, 2 samples
genes <- head(rownames(bcb_small), 100L)
head(genes)
samples <- head(colnames(bcb_small), 2L)
head(samples)
# Subset by sample name
bcb_small[, samples]
# Subset by gene list
bcb_small[genes, ]
# Subset by both genes and samples
subset <- bcb_small[genes, samples]
print(subset)
assayNames(subset)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.