quantsmooth: quantsmooth

Description Usage Arguments Value Author(s) Examples

View source: R/quantsmooth.R

Description

Quantile smoothing of array data

Usage

1
  quantsmooth(intensities,smooth.lambda=2, tau=0.5, ridge.kappa=0,smooth.na=TRUE,segment)

Arguments

intensities

numeric vector

smooth.lambda

numeric

tau

numeric [0..1], the quantile desired; see rq.fit

ridge.kappa

fudge parameter; see details

smooth.na

logical; handling of NA

segment

integer, length of overlapping segments

Value

This function returns a vector of the same length as intensities, or a matrix if the length of tau is greater than 1.

Author(s)

Jan Oosting

Examples

1
2
	data(chr14)
	plot(quantsmooth(bac.cn[,1],smooth.lambda=2.8),type="l")

Example output

Loading required package: quantreg
Loading required package: SparseM

Attaching package: 'SparseM'

The following object is masked from 'package:base':

    backsolve

Loading required package: grid

quantsmooth documentation built on Nov. 8, 2020, 8:27 p.m.