medpolish_estimate_dfconfig: Median polish estimates of e.g. protein abundances for entire...

View source: R/tidyMS_aggregation.R

medpolish_estimate_dfconfigR Documentation

Median polish estimates of e.g. protein abundances for entire data.frame

Description

Median polish estimates of e.g. protein abundances for entire data.frame

Usage

medpolish_estimate_dfconfig(pdata, config, name = FALSE)

Arguments

pdata

data.frame

config

AnalysisConfiguration

See Also

medpolish_estimate_df

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

Examples


bb <- prolfqua_data('data_ionstar')$filtered()
bb$config <- old2new(bb$config)
stopifnot(nrow(bb$data) == 25780)
conf <- 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 <- medpolish_estimate_dfconfig(x,conf)
prolfqua:::.reestablish_condition(x,bb, conf)


wolski/prolfqua documentation built on Oct. 31, 2024, 9:22 a.m.