import_files | R Documentation |
Extract discordant reads and reads mapped to sequence in interest.
import_files <- function(extracted, seq_info)
extracted |
Paths to all reads extracted from |
seqinfo |
A Seqinfo object containing the chromosome information. It can be converted from a chrom_sizes.txt file, retrieved from sam/bam header or retrieved from R packages directly, e.g. BSgenome. |
All extract data are imported into the R system.
A text file containing extracted reads. The text file is basically simplified sam format, which contains the fields of QNAME, FLAG, RNAME, POS, MAPQ, CIGAR, SEQUENCE and QNAME_id.
Cheuk-Ting Law
# For hs37d5, library(BSgenome.Hsapiens.1000genomes.hs37d5) seq_info <- seqinfo(hs37d5) import_files("my_extract.txt", seq_info)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.