mapping_pass: Keep only samples that passed minimum requirements in STAR...

View source: R/04_read_mapping.R

mapping_passR Documentation

Keep only samples that passed minimum requirements in STAR alignment

Description

Keep only samples that passed minimum requirements in STAR alignment

Usage

mapping_pass(mapping_qc = NULL, sample_info = NULL)

Arguments

mapping_qc

Data frame with read mapping statistics, as generated by multiqc().

sample_info

Data frame with sample metadata as generated by create_sample_info.

Details

Samples are excluded if i. more than 50 percent of the reads fail to map, or ii. more than 40 percent of the reads fail to uniquely map.

Value

Data frame with metadata of samples that passed alignment QC.

Examples

data(sample_info)
data(mapping_qc)
mapping_passed <- mapping_pass(mapping_qc, sample_info)

almeidasilvaf/gead documentation built on April 26, 2023, 3:47 p.m.