plot_map | R Documentation |
Plot data against position and curate based on trend
plot_map(data, thresh = NULL, span = 0.3)
data |
data frame with 3 columns: chrom, position, plotting variable |
thresh |
threshold for removing markers (see Details) |
span |
smoothing parameter for loess spline (higher = less smooth) |
For data from a single chromosome, markers are removed when their residual to the fitted spline exceeds thresh
. If NULL, no curation occurs.
ggplot
List containing
outlier positions
ggplot2 variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.