lm_q2e: Fit a linear model without weights and forcing a 0 intercept

View source: R/wls_q2e.R

lm_q2eR Documentation

Fit a linear model without weights and forcing a 0 intercept

Description

For use after group_by on samples and peptide index

Usage

lm_q2e(
  norm_int = NULL,
  deam_0 = NULL,
  deam_1 = NULL,
  deam_2 = NULL,
  data = NULL,
  return_model = FALSE
)

Arguments

deam_2

Examples

q2e_vals = peaks %>% filter(n_peaks > 0) %>%
   group_by(sample, replicate, pep_number) %>%
   summarise(lm_q2e(norm_int, weight, deam_0, deam_1, deam_2))

ismaRP/MALDIpqi documentation built on July 2, 2024, 8:43 p.m.