Description Usage Arguments Value Author(s) See Also Examples
This function works in almost same way as the generic form of it.
Note: When j
is missing, this takes rows instead of columns.
1 2 |
x |
an object of the |
i |
row |
j |
column |
..., drop |
currently not used |
droplevel |
whether unused factor levels after extraction should be
dropped out in |
an object of the BAf-class
that contains a part
Mun-Gwan Hong <mun-gwan.hong@scilifelab.se>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(sba)
# the samples in 1:4 rows and the values of 3rd target
sba2 <- sba[1:4, 3]
summary(sba2)
# the data of "T2" and "T3"
sba3 <- sba[, c("T2", "T3")]
summary(sba3)
# the data of the samples on plate 2
sba4 <- sba[sba@sinfo$plate == "2", ]
summary(sba4)
# the data of cancer patients only
sba5 <- sba[!is.na(sba@sinfo$dis) & sba@sinfo$dis == "cancer", ]
summary(sba5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.