Description Usage Arguments Value Examples
find subgroup specific regions
1 2 | subgroup_specific_genomic_regions(gr, factors,
present = 0.7, absent = 0.3, type = NULL)
|
gr |
a GRanges object coming from |
factors |
classes which correspond to samples in |
present |
how to define a common region is specifically present in one subgroup? The subgroup specificity is calculated based on the precent matrix stored in |
absent |
how to define a common region is specifically absent in one subgroup. Format is same as |
type |
It uses a string containing 1 and 0 to represent types of specificity. E.g. '1100' means present in subgroup 1 and 2 while absent in subgroup 3 and 4. By default, it will output all combination of subgroup specificities. |
In fact, this function split the original gr
into a list in which each element
contains regions corresponding to different subgroup specificity.
The returned value can be sent to plot_subgroup_specificity_heatmap
to visualize the specificity.
1 2 | # There is no example
NULL
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.