View source: R/perturbPlot2d.R
perturbPlot2d | R Documentation |
This function takes in a matrix of test statistics with two columns (2-dimensional space) and the annotation list such as pathway annotation or kinase-substrate annotation, and visualize the enrichment of pathways or kinases in direction specific manner.
perturbPlot2d(Tc, annotation, minSize=5, ...)
Tc |
a numeric matrix. The columns are genes or phosphorylation sites and the columns are treatments vs control statistics. |
annotation |
a list with names correspond to pathways or kinases and elements correspond to genes or substrates belong to each pathway or kinase, respectively. |
minSize |
the size of annotation groups to be considered for calculating enrichment. Groups that are smaller than the minSize will be removed from the analysis. |
... |
parameters for controling the plot. |
a list of coordinates for pathways or kinases
# load the phosphoproteomics dataset
data(HEK)
# load the kinase-substrate annoations
data(PhosphoSite)
perturbPlot2d(Tc=HEK, annotation=PhosphoSite.mouse, cex=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.