Description Usage Arguments Details Value Examples
View source: R/CNVRs_creation.R
cnvrs_create
compute CNVRs on a CNVResutls
object, typically the
output of inter_res_merge
.
1 | cnvrs_create(cnvs, chr_arms, prop = 0.3)
|
cnvs |
a |
chr_arms |
a |
prop |
reciprocal overlap proportion, default 0.3 (30%). |
Copy Number Variable Regions (CNVRs) are defined as groups of reciprocal overlapping CNVs. This function first try to assign every call to a CNVR (or create a new one if it is not possible), then check if adjacent CNVRs cam be merged, and finally recheck all the CNVs in each CNVRs and un-assign them if the reciprocal overlap is no longer fulfilled with all the member of the CNVR. If any event is touched by this last step, a new cycle begins, this until no more CNVs can be removed from the assigned CNVR.
a list
of two elements. The first element is a data.table
that contains the actual CNVR information, genomic location and frequency in
the cohort. The second element is the CNVresults
1 | DT <- cnvrs_create(penn_22, hg19_chr_arms)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.