Description Format Value Super class Public fields Active bindings Methods Examples
Class interface for single cell data
Class interface for single cell data
R6Class
object.
Object of R6Class
to store single cell data.
BioData::BioData
-> SingleCells
data
the numerical data as data.frame
samples
the sample annotation as data.frame
annotation
the row annotation as data.frame
usedObj
a multi purpose list to store whichever ananlyis results do not fit in the stats list
stats
all stats with one result for each data row
data
the numerical data as data.frame
samples
the sample annotation as data.frame
annotation
the row annotation as data.frame
usedObj
a multi purpose list to store whichever ananlyis results do not fit in the stats list
stats
all stats with one result for each data row
force.numeric()
SingleCells$force.numeric(...)
clone()
The objects of this class are cloneable with this method.
SingleCells$clone(deep = FALSE)
deep
Whether to make a deep clone.
1 2 3 4 5 6 7 8 9 10 11 | set.seed(1)
dat = matrix(rnorm(1000),ncol=10)
dat = round(dat)
dat = dat - min(dat)
dat = data.frame( dat )
colnames(dat) <- paste('Sample', 1:10)
rownames(dat) <- paste( 'gene', 1:100)
samples <- data.frame(SampleID = 1:10, sname = colnames(dat) )
annotation <- data.frame( GeneID = paste( 'gene', 1:100), Start= 101:200 )
x <- SingleCells$new( cbind(annotation,dat),
Samples=samples, name="testObject",namecol='sname', outpath = "" )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.