Description Usage Arguments Value Author(s) Examples
View source: R/teGeneRetrieval.R
The teGeneRetrieval function is used to define tissue-specific genes, using the algorithm from the HPA (Uhlén et al. 2015). It takes a gene expression SummarizedExperiment object as input (rows as genes and columns as tissue) and classifies the genes into different gene groups. The users also have the option of changing the default thresholds to vary the degree of tissue specificity of genes. More details about the gene groups and HPA thresholds are provided below. More details about the gene groups are provided in the vignette.
1 2 | teGeneRetrieval(expressionData, foldChangeThreshold = 5,
maxNumberOfTissues = 7, expressedGeneThreshold = 1)
|
expressionData |
A SummarizedExperiment object containing gene expression values. |
foldChangeThreshold |
A numeric Threshold of fold change, default 5. |
maxNumberOfTissues |
A numeric Maximum number of tissues in a group for group enriched genes, default 7. |
expressedGeneThreshold |
A numeric Minimum gene expression cutoff for the gene to be called as expressed, default 1. |
The output is a SummarizedExperiment object containing the information about the tissue-specific genes with three columns: Gene, Tissue, and Enrichment group of the gene in the given tissue.
Ashish Jain, Geetu Tuteja
1 2 3 4 5 6 7 8 | library(SummarizedExperiment)
data<-system.file('extdata', 'test.expressiondata.txt', package =
'TissueEnrich')
expressionData<-read.table(data,header=TRUE,row.names=1,sep='\t')
se<-SummarizedExperiment(assays = SimpleList(as.matrix(expressionData)),
rowData = row.names(expressionData),colData = colnames(expressionData))
output<-teGeneRetrieval(se)
head(assay(output))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.