extract_alleles: Extract Modal Peaks

View source: R/extract_functions.R

extract_allelesR Documentation

Extract Modal Peaks

Description

Extracts modal peak information from each sample in a list of fragments.

Usage

extract_alleles(fragments_list)

Arguments

fragments_list

A list of fragments_repeats objects containing fragment data.

Value

A dataframe containing modal peak information for each sample

Examples

gm_raw <- trace::example_data

test_fragments <- peak_table_to_fragments(gm_raw,
  data_format = "genemapper5",
  dye_channel = "B",
  min_size_bp = 400
)

find_alleles(
  fragments_list = test_fragments,
  peak_region_size_gap_threshold = 6,
  peak_region_signal_threshold_multiplier = 1
)

extract_alleles(test_fragments)


trace documentation built on April 4, 2025, 1:50 a.m.