plotGene: Plot specificity of a user defined gene for each tissue

Description Usage Arguments Value Examples

View source: R/plotGene.R

Description

This function takes a user defined gene (case sensitive) and plots the tau expression fraction of that gene in each tissue. This allows the user to visualize the tissue/tissues in which the genes has relatively enriched/depleted expression

Usage

1
plotGene(x, y)

Arguments

x

ensembl annotated tau expression fraction file i.e. output from getMart()

y

user defined gene, case sensitive, to see gene names available view the output of getMart()

Value

Returns a bar plot of tau espression fraction in each tissue

Examples

1
2
3
4
5
6
x <- head(tauAnno$external_gene_name, n = 1)
plotGene(tauAnno, x)
y <- rownames(subset(tauAnno, tauAnno$external_gene_name == x))
meanExp[y,]
qnExp[y,]
tauAnno[y,]

roonysgalbi/tispec documentation built on May 26, 2019, 1:33 a.m.