powered by
Creates a volcano plot showing the log2 fold change and FDR values with optional labelling of points.
volcano_plot( data, number_points = 5, selected_points = NULL, interactive = FALSE, logFC_threshold = log2(1.5), FDR_threshold = 0.05, point_size = 2, lab_size = 4 )
A ggplot object representing the volcano plot.
A data frame containing gene expression data, containing an ID, log2 foldchange and FDR columns.
Number of top up and down regulated points to label
Character vector of the IDs to label
Should an interactive plotly graph be made?
The foldchange threshold to define up and down regulated points
The pval threshold to define up and down regulated points
Size for the points
Size for the labels
skeletalvis <- load_skeletalvis(demo=TRUE) experiment_results <- get_experiment(skeletalvis, "GSE155118_1") volcano_plot(experiment_results)
Run the code above in your browser using DataLab