hpaVisSubcell | R Documentation |
Visualize the the confirmed subcellular locations of genes of interest.
hpaVisSubcell(
data = NULL,
targetGene = NULL,
reliability = c("enhanced", "supported", "approved", "uncertain"),
color = c("#FCFDBF", "#8C2981"),
customTheme = FALSE
)
data |
Input the list object generated by |
targetGene |
Vector of strings of HGNC gene symbols. By default it is
set to |
reliability |
Vector of string indicate which reliability scores you want to plot. The
default is everything |
color |
Vector of 2 colors used to depict if the protein expresses in a location or not. |
customTheme |
Logical argument. If |
This function will return a ggplot2 plot object, which can be further modified if desirable. The subcellular location data is visualized as a tile graph, in which the x axis includes the inquired proteins and the y axis contain the subcellular locations.
Other visualization functions:
hpaVisPatho()
,
hpaVisTissue()
,
hpaVis()
data("hpa_histology_data")
geneList <- c('TP53', 'EGFR', 'CD44', 'PTEN', 'IDH1', 'IDH2', 'CYCS')
## A typical function call
hpaVisSubcell(data=hpa_histology_data,
targetGene=geneList)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.