View source: R/getDomainInflections.R
getDomainInflections | R Documentation |
A wrapper function to generate a GRanges object of chromatin domain inflection points
getDomainInflections(
gr,
what = "score",
res = 1e+06,
chrs = c(paste0("chr", 1:22), "chrX"),
genome = c("hg19", "hg38", "mm9", "mm10")
)
gr |
Input GRanges object with mcols column corresponding to chromatin domains |
what |
The name of the column containing the chromatin domain information |
res |
What resolution the domains were called |
chrs |
Which chromosomes to work on |
genome |
Which genome does the input data come from |
A GRanges object of compartment inflection points
data("k562_scrna_chr14", package = "compartmap")
chr14_domains <- scCompartments(k562_scrna_chr14,
res = 1e6, genome = "hg19",
group = TRUE, bootstrap = FALSE)
chr14_domain_inflections <- getDomainInflections(chr14_domains, what = "pc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.