Plot all chromosomes of a sample

Share:

Description

Plot all chromosomes of a sample

Usage

1
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

1
2
3
4
5
6
7
8
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)
}