summary_stats_salmon: Get salmon mapping rate for each BioSample

View source: R/02_qc.R

summary_stats_salmonR Documentation

Get salmon mapping rate for each BioSample

Description

Get salmon mapping rate for each BioSample

Usage

summary_stats_salmon(salmondir, biosamples)

Arguments

salmondir

Path to the directory where salmon output files are.

biosamples

A character vector of BioSample IDs that were quantified with salmon.

Value

A 2-column data frame with the following variables:

BioSample

Character, BioSample IDs.

Mapping_rate

Numeric, mapping rate. Values range from 0 to 100.

Examples

salmondir <- system.file("extdata", package = "bears")
biosamples <- "SAMN02422669"
summary_stats_salmon(salmondir, biosamples)

almeidasilvaf/bear documentation built on April 14, 2023, 7:03 p.m.