plot_raw_snp: Plot raw SNP

Description Usage Arguments Examples

View source: R/plot.R

Description

Plots raw data for specified SNP.

Usage

1
2
plot_raw_snp(raw, n = 1L, transf = "log", pn = 2, theta = "atan2",
  nan = 0.5)

Arguments

raw

Raw data object.

n

Integer, which SNP should be plotted.

transf

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

pn

Numeric, p-norm for the intensity calculation.

theta

Method for calculation of theta. Currently only "atan2" is implemented.

nan

Numveric to replace NaN for ballele computation (division by zero).

Examples

1
2
3
4
if(require(brassicaData)){
data("raw_napus", package = "brassicaData", envir = environment())
plot_raw_snp(raw_napus)
}

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

Search within the gsrc package
Search all R packages, documentation and source code