intens_theta: Preprocess raw values and calculate Intensity and Theta...

Description Usage Arguments Value Examples

View source: R/preprocess.R

Description

Preprocess raw values and calculate Intensity and Theta values

Usage

1
2
intens_theta(raw, norm = "quantile", scaling = "mean", transf = "log",
  pn = 2)

Arguments

raw

Raw_data object.

norm

Method for the normalization. One of "none", "quantile", "median" or "both".

scaling

Logical, if each SNP should be scaled or not.

transf

Method for transformation of the raw values. "none", "log" and "fourth-root" are implemented.

pn

Numeric, p-norm for the intensity calculation.

Value

List with two matrices "intensity" (signal intensities) and "theta" (genotype value).

Examples

1
2
3
4
5
if(require(brassicaData)){
data("raw_napus", package = "brassicaData")

dat <- intens_theta(raw_napus)
}

gsrc documentation built on May 30, 2017, 4:16 a.m.