Learn R Programming

gsrc (version 1.1)

plot_samp: Plot all chromosomes of a sample

Description

Plot all chromosomes of a sample

Usage

plot_samp(dat, samp, ncol = NULL, delthresh = NULL, dupthresh = NULL, ...)

Arguments

dat
List object, containing at least two matrices "baf" and "rratio" and two vectors "chr" and "pos".
samp
Integer, which sample should be plotted.
ncol
Integer, number of colors.
delthresh
Numeric, lower threshold for intensities.
dupthresh
Numeric, upper threshold for intensities.
...
arguments are forwarded to plot().

Examples

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

dat <- intens_theta(raw_napus)
dat <- remove_suffix(dat, "_Grn")
dat <- geno_baf_rratio(dat, delthresh = 11)
plot_samp(dat, 1)
}

Run the code above in your browser using DataLab