rlm_estimate_dfconfig: Estimate protein abundance from peptide abundances using...

View source: R/tidyMS_aggregation.R

rlm_estimate_dfconfigR Documentation

Estimate protein abundance from peptide abundances using MASS::rlm

Description

Estimate protein abundance from peptide abundances using MASS::rlm

Usage

rlm_estimate_dfconfig(pdata, config, name = FALSE)

Arguments

pdata

data.frame

config

AnalysisConfiguraton

See Also

rlm_estimate

Other aggregation: INTERNAL_FUNCTIONS_BY_FAMILY, aggregate_intensity_topN(), estimate_intensity(), intensity_summary_by_hkeys(), medpolish_estimate(), medpolish_estimate_df(), medpolish_estimate_dfconfig(), medpolish_protein_estimates(), plot_estimate(), plot_hierarchies_add_quantline(), plot_hierarchies_line(), plot_hierarchies_line_df(), rlm_estimate()

Examples


bb <- prolfqua_data('data_ionstar')$filtered()
conf <- old2new(bb$config)
data <- bb$data
conf$table$hierarchyDepth = 1
xnested <- data |>
  dplyr::group_by_at(conf$table$hierarchy_keys_depth()) |> tidyr::nest()

feature <- base::setdiff(conf$table$hierarchy_keys(),  conf$table$hierarchy_keys_depth())
x <- xnested$data[[1]]
bb <- rlm_estimate_dfconfig(x, conf)

prolfqua:::.reestablish_condition(x,bb, conf)


wolski/prolfqua documentation built on May 12, 2024, 10:16 p.m.