View source: R/add_hicpro_allvalidpairs_counts.R
add_hicpro_allvalidpairs_counts | R Documentation |
This function converts HiC-Pro outputs in allValidPairs format into a gi_list instance.
add_hicpro_allvalidpairs_counts( gi_list, allvalidpairs_path, chrs = NULL, binned = TRUE, add_inter = FALSE )
gi_list |
valid gi_list instance.
See |
allvalidpairs_path |
allValidPairsfile obtained from HiC-Pro (e.g., 'GSM2572593_con_rep1.allvalidPairs.txt') |
chrs |
a subset of chromosomes' e.g., c('chr21','chr22'). Defaults
to all chromosomes in the |
binned |
TRUE if the gi_list instance is uniformly binned (helps faster execution). Defaults to TRUE. |
add_inter |
Interchromosomal interaction counts added as a 1D feature
named 'inter' on regions metadata handle of each gi_list element (e.g.,
|
gi_list
instance with counts on the metadata (e.g.,
mcols(gi_list[[1]])
handle on each list element, and 'inter' on
regions metadata handle of each element if add_inter=TRUE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.