Generates peptide level plots for all proteins

plot_hierarchies_line_df(pdata, config, show.legend = FALSE)

Arguments

pdata

data.frame

config

AnalysisConfiguration

Examples



istar <- sim_lfq_data_peptide_config()
#> creating sampleName from fileName column
#> Warning: no nr_children column specified in the data, adding column nr_children and setting to 1.
#> completing cases

istar$config$table$is_response_transformed <- FALSE
res <- plot_hierarchies_line_df(istar$data, istar$config)
res[[1]]
#> Warning: Removed 7 rows containing missing values or values outside the scale range
#> (`geom_point()`).
#> Warning: Removed 1 row containing missing values or values outside the scale range
#> (`geom_line()`).

istar$config$table$is_response_transformed <- TRUE
res <- plot_hierarchies_line_df(istar$data, istar$config)
res[[2]]
#> Warning: Removed 2 rows containing missing values or values outside the scale range
#> (`geom_point()`).


#TODO make it work for other hiearachy levels.