compile_across_lib_results: Compile library level results to sample level

compile_across_lib_resultsR Documentation

Compile library level results to sample level

Description

Function to calculate sample_level damage and contamination using a weighted mean across libraries

Usage

compile_across_lib_results(x, snp_cutoff = 100)

Arguments

x

A Tibble as given by compile_eager_result_tables.

snp_cutoff

integer. The minimum number of SNPs, below which nuclear contamination results should be ignored.

Value

A tibble with the following columns replaced by weighted sums on the sample level: c(Contamination, Contamination_Error, Contamination_Meas, Damage).


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