read_eager_stats_table: Extract poseidon information from the general stats table of...

View source: R/read_eager_results.R

read_eager_stats_tableR Documentation

Extract poseidon information from the general stats table of a run

Description

Extract poseidon information from the general stats table of a run

Usage

read_eager_stats_table(general_stats_fn, tsv_data, snp_cutoff = 50)

Arguments

general_stats_fn

character. Path to the MultiQC general stats table. Can be found in multiqc/multiqc_data/multiqc_general_stats.txt within the specified eager output directory (--outdir).

tsv_data

A tibble containing information from the eager TSV. Created with read_eager_tsv

snp_cutoff

integer. The minimum number of SNPs used for nuclear contamination results, for the results to be considered trustworthy. Any values from libraries with fewer than this number of SNPs are ignored.

Value

A tibble containing the poseidon janno fields of Damage, Nr_SNPs, Endogenous, Contamination, Contamination_Err, Contamination_Meas, and Contamination_Note


sidora-tools/eager2poseidon documentation built on May 12, 2023, 11:58 p.m.