.readTwoBams | R Documentation |
Reads in interactions stored in a a pair of BAM files, e.g. from independent alignment of paired-end reads. Assumes that each interaction is represented by pair of PETs with the same qname (this may not always be true. Depending on data origin read qnames may end in '/1' or '/2' to denote first or second read in the pair). The function reads in files, removes unpaired reads, and pairs reads based on macthing qnames.
.readTwoBams(fn)
fn |
Character vector of two BAM files with aligned reads. |
list of two GRanges, storing the anchor information for each interaction
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.