View source: R/reactome_visualization.R
reactome_visualization | R Documentation |
function to generate plot using the dataframe from the reactome_prep function
reactome_visualization(RP.df, RP_adj, RP = NULL, path_order = NULL)
RP.df |
data frame produced by reactome_prep function |
RP_adj |
same data frame as used in reactome_prep function |
RP |
data frame of Path IDS from Reactome database. IF left null uses the RP file included as data in the screp package. |
path_order |
a vector of parent pathway names from the rootName column in the RP.df. Can be used to plot the parent pathway names in desired order along the x-axis. Default is NULL which gives a random order. |
returns a list with the first item in the list being a data frame used in creating a plotting object and the second item being the ggplot2 object generated
## Not run: react_vis2<-reactome_visualization(RP_ready,mRPR,path_order=z) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.