name_known_sequences: Name known allele sequences

View source: R/analyze_dataset.R

name_known_sequencesR Documentation

Name known allele sequences

Description

For the given results list (pair of summary data frame and list of per-sample data frames as produced by tidy_analyzed_dataset), add columns to all data frames defining names for recognized sequences. For the summary data frame this will be Allele1Name and Allele2Name. For each sample data frame this will be SeqName, defined for any sequences represented in the summary or in a given known alleles set.

Usage

name_known_sequences(results, known_alleles, ...)

Arguments

results

results list as produced by tidy_analyzed_dataset.

known_alleles

data frame of custom allele names as defined for load_allele_names. if NULL only the names automatically generated for the summary will be used.

...

additional arguments to make_allele_names.

Value

list of results, with summary set to the single summary data frame and data the per-sample data frames. A SeqName column in sample data frames and Allele1Name and Allele2Name columns in the summary data frame will associate any sequence matching a known allele (for either the given table or the current dataset) with a text name.


ressy/microsat documentation built on Aug. 24, 2023, 10:09 a.m.