plot_map: Plot data against position and curate based on trend

View source: R/plot_map.R

plot_mapR Documentation

Plot data against position and curate based on trend

Description

Plot data against position and curate based on trend

Usage

plot_map(data, thresh = NULL, span = 0.3)

Arguments

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)

Details

For data from a single chromosome, markers are removed when their residual to the fitted spline exceeds thresh. If NULL, no curation occurs.

Value

ggplot

List containing

outliers

outlier positions

plot

ggplot2 variable


jendelman/MapRtools documentation built on April 12, 2025, 12:46 p.m.