Description Usage Arguments Value Examples
Parse hisat2 log file and extract mapping rate of all samples.
1 | maprate(fp, lab, pair, algnr)
|
fp |
file path of bowtie log |
lab |
character: file name as sample name. |
pair |
logical: paired end read or nod. The default value is TRUE. |
algnr |
character: select an alignr from 'hisat2' or 'bowtie2'. The default value is "bowtie2". |
data frame of mapping rate and ggplot object
1 2 3 4 | h2.paired.log <- system.file("extdata", "hisat2_log.txt", package = "rskoseq")
label <- c("A","B","C","D")
res1 <- maprate(fp = h2.paired.log, lab = label)
res2 <- maprate(fp = h2.paired.log, pair = T, lab = label, algnr = "hisat2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.