tally_cts_per_locus: Create Counts-per-Locus Table

View source: R/summarize_dataset.R

tally_cts_per_locusR Documentation

Create Counts-per-Locus Table

Description

Produce a table of read counts matching (by primer) each locus per sample.

Usage

tally_cts_per_locus(results)

Arguments

results

list containing summary data frame and sample-specific data frames as produced by analyze_dataset.

Value

Data frame of read counts with samples on rows and loci on columns. Additional columns at the left specify the number of reads matching any known locus (Total) and the number of reads matching the expected locus (Matching). Note that this data frame is per-sample rather than per-file, so multiplexed samples will have sets of identical rows.


ShawHahnLab/chiimp documentation built on Aug. 20, 2023, 1:41 a.m.