The ATAC counterpart of run_methyltfr. The methylTFR annotation
is used unchanged, methylation levels are replaced by insertion
densities per base and per site, and the expected profile comes from
the GC bin composition of the binding sites.
Usage
runChromTFR(
dsa,
tf_bindsites = NULL,
gcfreqs = NULL,
gc_dist = NULL,
sampleIds = NULL,
motifs = NULL,
regions = NULL,
enhancer = NULL,
threads = 1,
ignoreStrand = TRUE,
shift = c(4L, -5L),
normalize = TRUE,
sample_ann = NULL
)Arguments
- dsa
A
DsATACobject or the path of a ChrAccR dataset.- tf_bindsites
A
GRangesListof binding site positions.- gcfreqs
A
listof GC bin frequency tables.- gc_dist
A
GRangesof the genome wide GC distribution.- sampleIds
Samples to process, all of them by default.
- motifs
Motifs to process, all of them by default.
- regions
Optional
GRangesrestricting the insertions.- enhancer
Optional
GRangesrestricting the binding sites.- threads
Thread count for parallel processing.
- ignoreStrand
If TRUE, strand information is ignored.
- shift
Offsets applied to the forward and reverse fragment ends.
- normalize
If TRUE, counts are scaled to insertions per million.
- sample_ann
Optional
data.frameof sample annotation.