Description Usage Arguments Value Examples
function allows to remove one or several samples from an RepSeqExperiment object.
1 | dropSamples(x, samples)
|
x |
a RepSeqExperiment object. |
samples |
a vector containing sample names to be removed or a vector integer of their positions in sampleData slot. |
a RepSeqExperiment object.
1 2 3 4 5 6 7 8 9 | ## Not run:
# The package RepSeqData contains example datasets
library(RepSeqData)
# show sample names
rownames(sData(RepSeqData)
subsetRepSeqData <- dropSamples(x = RepSeqData, samples=c("S10", "S11", "S12"))
subsetRepSeqData
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.