GetGenes: GenGenes

Description Usage Arguments Value Examples

View source: R/GetGenes.R

Description

GetGenes returns the genes that are expressed within a given tissue

Usage

1
GetGenes(genes, composite, tissue_abrev = NULL)

Arguments

genes

Query gene list.

composite

Result from SpatialEnrichment

tissue_abrev

The tissue of interest.

Value

Gene overlap between query and tissue of interest

Examples

1
2
3
4
5
6
7
8
#brainImageR:::loadworkspace()
##First put together a gene list, or load in the default vth dataset
data(vth)
##Calculate the spatial enrichment.
#composite <- SpatialEnrichment(vth, reps = 20, refset = "developing")
##Ask which genes are present in any given tissue.
#available_areanames(composite, slice = 4)
#vth_in_VZ <- GetGenes(vth, composite, tissue_abrev = "VZ")

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