extract_dpcr {dpcR} | R Documentation |
Extract Assays or Experiments
Description
Extract all runs belonging to specific assay or experiment(s) from a dpcr
object while preserving all other
attributes.
Usage
extract_dpcr(input, id_exper = NULL, id_assay = NULL)
Arguments
input |
|
id_exper |
vector of indices or names of experiments. Must be |
id_assay |
vector of indices or names of assays. Must be |
Value
The object of the input's class (adpcr
or
dpcr
).
Note
The standard Extract
operator x[i]
treats
dpcr objects as matrix
and extracts values without preserving other
attributies of the object.
Author(s)
Michal Burdukiewicz.
See Also
Extract run(s): extract_run
.
Examples
#extract using only experiment's ID
extract_dpcr(six_panels, id_exper = 1)
#extract using assay name
extract_dpcr(six_panels, id_assay = "MYC")
#extract using multiple names
extract_dpcr(six_panels, id_exper = c("Experiment1", "Experiment2"))
[Package dpcR version 0.6 Index]