extract | R Documentation |
Extract genes by row and samples by column.
## S4 method for signature 'DESeqAnalysis,ANY,ANY,ANY'
x[i, j, drop = FALSE]
x |
Object. |
i |
Indices specifying elements to extract or replace. Indices are For more information: help(topic = "Extract", package = "base") |
j |
Indices specifying elements to extract or replace. Indices are For more information: help(topic = "Extract", package = "base") |
drop |
For matrices and arrays. If |
DESeqAnalysis
.
Updated 2020-10-28.
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.
data(deseq)
object <- deseq
dim(object)
genes <- head(rownames(object), 50L)
head(genes)
samples <- head(colnames(object), 2L)
head(samples)
x <- object[genes, samples]
print(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.