normalize: Normalization and cellularity adjustment for arrayCGH data.

Description Usage Arguments Details Value Author(s) Examples

View source: R/preprocess.R

Description

This function normalizes arrayCGH data using the global mode or median. It can also adjust for the cellularity of your data.

Usage

1
normalize(input, method = "median", smoothOutliers = TRUE, ...)

Arguments

input

Object of class cghRaw.

method

Normalization method, either median, mode, or none.

smoothOutliers

Logical. Indicates whether outliers should be smoothed using the smooth.CNA function.

...

Arguments for smooth.CNA.

Details

The cellularity parameter should be a vector of length n where n is the number of samples in your dataset. The vector is recycled if there are not enough values in it, or truncated if there are too many. For more information on the correction we refer to section 1.6 of the supplementary information for van de Wiel et al. 2006.

Value

This function returns a dataframe in the same format as the input with normalized and/or cellularity adjusted log2 ratios.

Author(s)

Sjoerd Vosse & Mark van de Wiel

Examples

1
2
3
4
5
6
7
  data(Wilting)
  ## Convert to 'cghRaw' object
  cgh <- make_cghRaw(Wilting)
  ## First preprocess the data
  raw.data <- preprocess(cgh)
  ## Simple global median normalization for samples with 75% tumor cells
  normalized.data <- normalize(raw.data)

CGHcall documentation built on Nov. 8, 2020, 11:12 p.m.