View source: R/feature_plots.R
feature_plots | R Documentation |
This function to plots a scatter plot, a histogram, and a few summary statistics of each feature in a data frame to a pdf file
feature_plots(wdata, outdir = NULL, nsd = 5)
wdata |
a data frame of feature (ex: metabolite or protein) abundance levels |
outdir |
output directory path |
nsd |
number of SD from the mean to plot an outlier line on the scatter plot and histogram |
a ggplot2 object
ex_data = sapply(1:20, function(x){ rnorm(250, 40, 5) }) colnames(ex_data) = paste0("var", 1:ncol(ex_data)) feature_plots(ex_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.