Comp-class: Comp keeps track of Spatial Enrichment calculations and...

Description Slots Examples

Description

Comp tracks the parameters and calculations throughout spatial gene set enrichment.

Slots

genes

character vector of query genes

tissueExp1

named numeric vector of query gene count in tissues

tissueExp2

named numeric vector of avg.

random.matrix

matrix of overlap at random, size = boot replicates

refset

character noting developing or adult reference

background gene count in tissues

composite

composite image matrix

Examples

1
2
3
4
5
6
7
8
comp <- methods::new(Class="Comp",
genes = c("a","b"),
tissueExp1 = c(10,12),
tissueExp2 =  c(10,13),
composite = matrix(0,nrow=10,ncol=10),
random.matrix = data.frame(matrix(0,nrow=10,ncol=10)),
refset = "developing"
)

saralinker/brainImageR documentation built on May 29, 2019, 1:51 p.m.