Get salmon mapping rate for each BioSample
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)
#> BioSample Mapping_rate
#> 1 SAMN02422669 49.4716