Comp-class {brainImageR} | R Documentation

## Comp keeps track of Spatial Enrichment calculations and parameters

### 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

    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"
    )

[Package brainImageR version 1.1.0 Index]