parse_migmodel: Generate regression model for CE migration

View source: R/development.R

parse_migmodelR Documentation

Generate regression model for CE migration

Description

parse_migmodel

Usage

parse_migmodel(
  df_list,
  channels,
  search_var,
  search_pattern,
  substrate_cutoff,
  limit = 10
)

Arguments

df_list

a list of data frames containing CE data imported with fragr::read_PeakScanner

channels

the one letter channel/dye code(s) (as a character vector) for which to build a migration regression model

search_var

a metadata-containing variable which contains the theoretical product size

search_pattern

a regex pattern for extracting the theoretical product size 'search_var'

substrate_cutoff

a numeric value indicating the bp size above which all peaks should represent product

limit

a numeric value defining how far, in basepairs, the called value an deviate from the theoretical value, defaults to ten (10) unless otherwise specified

Value

returns a model plot and list of variables..


eric-hunt/fragr documentation built on May 1, 2022, 6:39 a.m.