RandomTissueSummary: Generate a random overlap

Description Usage Arguments Value Examples

View source: R/RandomTissueSummary.R

Description

random overlap for background correction and bootstrapping

Usage

1
RandomTissueSummary(i, genes, samplesize, refset = c("developing", "adult"))

Arguments

i

current iteration

genes

all genes to sample from

samplesize

sample size to select from gene list

refset

reference map. developing (default) or adult

Value

returns a list of the random gene overlap for each tissue

Examples

1
2
3
4
5
##Internal to brainImageR, called within SpatialEnrichment
#brainImageR:::loadworkspace()
##First load in a gene set
data(vth)
#tissueExp <- RandomTissueSummary(1, vth, 20)

brainImageR documentation built on May 6, 2019, 3:54 a.m.