Learn R Programming

quantsmooth (version 1.38.0)

plotChromosome: Wrapper for plotSmoothed

Description

This function is a wrapper for plotSmoothed, to make data subsetting easier

Usage

plotChromosome(gendata, chrompos, chromosome, dataselection = NULL, ylim = NULL, normalized.to = NULL, grid = NULL, smooth.lambda = 2, interval = 0.5, ...)

Arguments

gendata
numeric matrix or data.frame
chrompos
chrompos object with same numer of rows as gendata
chromosome
numeric, chromosme to show
dataselection
optional, subset of samples/columns in gendata
ylim
limits for plot
normalized.to
y-value(s) for line
grid
x-value(s) for line
smooth.lambda
smoothing parameter, see quantsmooth
interval
position of extra lines besides median, see plotSmoothed
...
extra arguments for plotSmoothed

Value

The function is used for its side effects

See Also

plotSmoothed, quantsmooth