Description Usage Arguments Value Examples
View source: R/get_contacts_per_bin.R
This function takes a HiC-BAM file and creates a nammed vector
with the total number of contact per genomic bin
1 2 | get_contacts_per_bin(inbam, resolution, region = NULL, pos, filtin = 0,
filtex = 783)
|
inbam |
HiC-BAM file |
resolution |
Desired resolution (bin size) |
region |
Region of interest following the format |
pos |
A vector with the genomic position IDs to be included in the output. It can be the column of the output from |
filtin |
Integer value indicating the required bits for the HiC-BAM FLAG (include the corresponding contacts in the output) |
filtex |
Integer value indicating the excluded bits for the HiC-BAM FLAG (exclude the corresponding contacts in the output) |
A named vector
containing the total number of contacts per genomic bin at the requested region
1 | plot(0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.