bootstraps: Accessor and replacement for bootstrap results in an SCESet...

Description Usage Arguments Value Author(s) Examples

Description

SCESet objects can contain an of bootstrap expression values (for example, as generated by the kallisto software for quantifying feature abundance). These functions conveniently access and replace the 'bootstrap' slot with the value supplied, which must be an matrix of the correct size, namely the same number of rows and columns as the SCEset object as a whole.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
bootstraps(object)

bootstraps(object) <- value

bootstraps.SCESet(object)

## S4 method for signature 'SCESet'
bootstraps(object)

## S4 replacement method for signature 'SCESet,array'
bootstraps(object) <- value

Arguments

object

a SCESet object.

value

an array of class "numeric" containing bootstrap expression values

Value

If accessing bootstraps slot of an SCESet, then an array with the bootstrap values, otherwise an SCESet object containing new bootstrap values.

Author(s)

Davis McCarthy

Examples

1
2
3
4
5
data("sc_example_counts")
data("sc_example_cell_info")
pd <- new("AnnotatedDataFrame", data = sc_example_cell_info)
example_sceset <- newSCESet(countData = sc_example_counts, phenoData = pd)
bootstraps(example_sceset)

dynverse/scaterlegacy documentation built on Feb. 17, 2020, 5:07 a.m.