PESCAn | R Documentation |
Performs an all-to-all Hi-C contact analysis for specified regions.
PESCAn(
explist,
bed,
shift = 1000000L,
dist_thres = c(5000000L, Inf),
size_bin = NULL,
size_bp = NULL,
outlier_filter = c(0, 1),
min_compare = 10,
anchors = NULL,
raw = TRUE
)
explist |
Either a single GENOVA |
bed |
A BED-formatted
|
shift |
An |
dist_thres |
An |
size_bin , size_bp |
The size of the lookup regions in bins (i.e. a score
of 21 yields an output with 10 Hi-C bins both up- and downstream of the
anchor). When |
outlier_filter |
A |
min_compare |
An |
anchors |
(Optional) A |
raw |
A |
An PESCAn_discovery
object containing the following slots:
An array
with the dimensions
size_bin
x size_bin
x length(explist)
containing fold
change values for the signal over the median shifted values.
An array
with the dimensions size_bin
x
size_bin
x length(explist)
containing mean contact values for
bins surrounding the anchors.
A list
with
length(explist)
elements for each contacts object, wherein an
element is an n x size_bin
x size_bin
array with contact
values for each anchor. 'n' is the number of non-empty valid anchors.
An array
with the dimensions size_bin
x
size_bin
x length(explist)
containing mean contact values for
bins that are shift
basepairs away from the anchors.
A list
with length(explist)
elements for
each contacts object, wherein an alemeent is an n x size_bin
x
size_bin
array with contact values for each shifted anchors. 'n' is
the number of non-empty valid (unshifted) anchors.
20kb-40kb
The rep_mat_lookup
function that performs the
lookup and summary for the PESCAn
function and others.
The
discovery
class for a general description of
discovery
classes.
The visualise
function
for visualisation of the results.
The quantify
function for quantification of interaction strenghts.
The
anchors
documentation for more information about
anchors.
Other aggregate repeated matrix lookup analyses:
APA()
,
ARA()
,
ATA()
,
CSCAn()
,
rep_mat_lookup()
## Not run:
# Typical usage: PESCAn for super enhancers using a 1 MB
# circular permutation on a pair of experiments.
pescan <- PESCAn(
explist = list(WT_40kb, KO_40kb),
bed = super_enhancers,
shift = 1e6
)
# Alternative usage with pre-calculated anchors and no permutation
anchors <- anchors_PESCAn(WT_40kb$IDX, resolution(WT_40kb),
genes_tss,
dist_thres = c(5e6, 15e6)
)
pescan <- PESCAn(
explist = list(WT_40kb),
anchors = anchors,
shift = 0
)
# Visualising PE-SCAns
visualise(pescan)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.