View source: R/plot_cumulative_features.R
plot_cumulative_features | R Documentation |
Intended to depict how many features are below pvalues with vertical lines representing the typical cutoffs for significance ( .05, .01, .001 )
plot_cumulative_features(
plot_df,
gg_add_on = theme_minimal(),
lab_x = "P-Value ( Log10 )",
lab_y = "Cumulative Feature Count ( Log10 )",
max_features = NA,
max_pvalue = NA,
output_path = NA,
plot_title = "Cumulative Features Below P-Value",
pvalue_clm = "pValue",
size_height = 5,
size_width = 5.5
)
plot_df |
Dataframe containing at a minimum pvalue data |
gg_add_on |
ggplot elements to add on to plot. Defaults to |
lab_x |
String for labeling x axis |
lab_y |
String for labeling y axis |
max_features |
integer representing the maximum number of features to plot. Values above this will be dropped from the plot_df |
max_pvalue |
double representing the highest pvalue to be plotted. Values above this will be dropped from the plot_df |
output_path |
Output path for plot |
plot_title |
String for plot title |
pvalue_clm |
column name in plot_df corresponding to pvalues |
size_height |
Numeric to specify plot height |
size_width |
Numeric to specify plot width |
Returns ggplot object with graphed line and vertical lines at significance intervals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.