Description Usage Arguments Details Value Examples
View source: R/getATACABsignal.R
getATACABsignal
returns estimated A/B compartments from methylation array data.
1 2 |
obj |
Input GenomicRatioSet object |
res |
Compartment resolution (in bp) |
parallel |
Should the inference be done in parallel? |
allchrs |
Whether all autosomes should be used for A/B inference |
chr |
Specify a chromosome to analyze |
targets |
Specify samples as shrinkage targets |
... |
Additional arguments |
This function estimates A/B compartments shrinking towards a global mean of targets or across samples
A p x n matrix (samples as columns and compartments as rows) of compartments
1 2 3 4 5 6 | library(GenomicRanges)
library(SummarizedExperiment)
library(Homo.sapiens)
data(bulkATAC_raw_filtered_chr14, package = "compartmap")
atac_compartments <- getATACABsignal(filtered.data.chr14, chr = "chr14", genome = "hg19")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.