RandomTissueSummary {brainImageR} | R Documentation

## Generate a random overlap

### Description

random overlap for background correction and bootstrapping

### Usage

    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

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

[Package brainImageR version 1.1.0 Index]