bootstraps {scater} | R Documentation |
SingleCellExperiment
objectSingleCellExperiment
objects can contain bootstrap
expression values (for example, as generated by the kallisto software for
quantifying feature abundance). These functions conveniently access and
replace the 'bootstrap' elements in the assays
slot with the value
supplied, which must be an matrix of the correct size, namely the same
number of rows and columns as the SingleCellExperiment
object as a
whole.
bootstraps(object) bootstraps(object) <- value ## S4 method for signature 'SingleCellExperiment' bootstraps(object) ## S4 replacement method for signature 'SingleCellExperiment,array' bootstraps(object) <- value
object |
a |
value |
an array of class |
If accessing bootstraps slot of an SingleCellExperiment
, then
an array with the bootstrap values, otherwise an SingleCellExperiment
object containing new bootstrap values.
Davis McCarthy
example_sce <- mockSCE() bootstraps(example_sce)