View source: R/pileup_by_QUAL.R
pileup_by_QUAL | R Documentation |
To explain
pileup_by_QUAL(
bam_file,
QUAL_values = seq(93, 0),
pos_start = NA,
pos_end = NA
)
bam_file |
Bam file to pile up |
QUAL_values |
Numeric vector. QUAL values to analyze in the data. |
pos_start |
Numeric. Position to start analyzing, counting starts from 1 and it refers to reference used for minimap2 alignment. |
pos_end |
Numeric. Position to stop analyzing, counting starts from 1 and it refers to reference used for minimap2 alignment. |
data.frame with columns strand,pos,nucleotide,QUAL,countss
refseq_fasta <- system.file("extdata", "ref_seq.fasta", package = "single")
train_reads_example <- system.file("extdata", "train_seqs_500.sorted.bam",
package = "single")
counts_pnq <- pileup_by_QUAL(bam_file=train_reads_example,
pos_start=1,pos_end=10)
head(counts_pnq)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.