Attributes regions and subregions to variants based on given positions
A dataframe in bed format (start is 0-based and end is 1-based) containing the regions with the fields :
A dataframe containing the subregions in the same format as
Whether to split variants attributed to multiple regions by duplicating this variants, set at TRUE by default
subregions$Name should be factors containing UNIQUE names of the regions, ORDERED in the genome order.
x@snps$chr is not a vector of integers, it should be a factor with same levels as
If a variant is attributed to multiple genomic regions, it will be duplicated in the bed matrix with one row per genomic region if
split = TRUE.
This function can be applied before using
burden.subscores to perform a functionally-informed burden tests with sub-scores for each
SubRegion within each
The same bed matrix as x with two additional columns:
x@snps$genomic.region containing the annotation of the
x@snps$SubRegion containing the annotation of the
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.