Learn R Programming

gsrc (version 1.1)

plot_raw_snp: Plot raw SNP

Description

Plots raw data for specified SNP.

Usage

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

Run this code
if(require(brassicaData)){
data("raw_napus", package = "brassicaData", envir = environment())
plot_raw_snp(raw_napus)
}

Run the code above in your browser using DataLab