plot_rank | R Documentation |
This function takes the output from SCPA and plots the rank of a user defined pathway.
plot_rank(
scpa_out,
pathway,
population_name = "qval",
base_point_size = 2,
base_point_color = "gray70",
highlight_point_size = 3,
highlight_point_color = "cornflowerblue",
label_pathway = T,
label_size = 4
)
scpa_out |
Data frame containing Pathways and qvals generated from compare_pathways |
pathway |
Chosen pathway or pathways to plot the rank of. This can be specific e.g. HALLMARK_GLYCOLYSIS to plot a specific result, or generic e.g. glycolysis to plot all glycolysis pathways |
population_name |
Column name of the population to plot, if more than one population present in the data frame |
base_point_size |
Size of the base points to plot on the graph |
base_point_color |
Color of the base points to plot on the graph |
highlight_point_size |
Size of the highlighted points to plot on the graph |
highlight_point_color |
Color of the highlighted points to plot on the graph |
label_pathway |
Should the selected pathway be labelled? |
label_size |
Text size of the pathway label |
list of pathways with corresponding genes
## Not run:
plot_rank(
scpa_out = scpa_result,
pathway = "interferon",
population_name = cd4_qval,
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.