Description Usage Arguments Examples
Assign copy number variations (duplications and deletions) based on the a threshold.
The CNVs are assigned to all SNPs in a CNV segment.
The CNV segments can be calculated using segm
.
1 | cnv(dat, del = -0.1, dup = 0.1)
|
dat |
List object, containing at least two matrices "baf" and "rratio" and two vectors "chr" and "pos". |
del |
Lower threshold, everything below is called deletion. |
dup |
Upper threshold, everything above is called duplication. |
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
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)
dat <- segm(dat)
dat <- cnv(dat, dup = 0.03, del = -0.06)
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.