compIdent_bamRcnt {GenVisR} | R Documentation |
Given the bam file path, count the number of reads at specified snp locations
compIdent_bamRcnt(bamfile, genome, target = NULL, debug = FALSE)
bamfile |
Path to the bam file |
genome |
Object of class BSgenome corresponding to a genome of interest |
target |
Object of class data frame containing target locations in 1-base format and containing columns "chr", "start", "end", "var", "name" |
debug |
Boolean specifying if test datasets should be used for debugging. |
object of class data frame containing readcount information