maprate: Parse hisat2 log file

Description Usage Arguments Value Examples

View source: R/maprate.R

Description

Parse hisat2 log file and extract mapping rate of all samples.

Usage

1
maprate(fp, lab)

Arguments

fp

file path of bowtie log

lab

file name as sample name

Value

data frame of mapping rate and ggplot object

Examples

1
2
3
h2.paired.log <- system.file("extdata", "hisat2_log.txt", package = "rskoseq")
label <- c("A","B","C","D")
res <- maprate(fp = h2.paired.log, lab = label)

shkonishi/rskoseq documentation built on Sept. 11, 2018, 12:39 a.m.