plot_raster: plot heatmap without any clustering (use to show NA's)

View source: R/tidyMS_plotting.R

plot_rasterR Documentation

plot heatmap without any clustering (use to show NA's)

Description

plot heatmap without any clustering (use to show NA's)

Usage

plot_raster(
  data,
  config,
  arrange = c("mean", "var"),
  not_na = FALSE,
  show_rownames = FALSE,
  ...
)

Arguments

data

dataframe

config

dataframe configuration

arrange

either mean or var

not_na

if true than arrange by nr of NA's first and then by arrange

y.labels

show y labels

See Also

Other plotting: ContrastsPlotter, INTERNAL_FUNCTIONS_BY_FAMILY, UpSet_interaction_missing_stats(), UpSet_missing_stats(), medpolish_estimate_df(), missigness_histogram(), missingness_per_condition(), missingness_per_condition_cumsum(), plot_NA_heatmap(), plot_estimate(), plot_heatmap(), plot_heatmap_cor(), plot_hierarchies_add_quantline(), plot_hierarchies_boxplot_df(), plot_hierarchies_line(), plot_hierarchies_line_df(), plot_intensity_distribution_violin(), plot_pca(), plot_sample_correlation(), plot_screeplot()

Examples


istar <- sim_lfq_data_protein_config()
config <- istar$config
analysis <- istar$data
rs <- plot_raster(analysis, config, show_rownames=FALSE)
stopifnot(class(rs) == "pheatmap")
rs <- plot_raster(analysis[1,], config)
stopifnot(is.null(rs))
rs <- plot_raster(analysis, config, "var")
stopifnot(class(rs) == "pheatmap")
rs <- plot_raster(analysis, config, show_rownames = TRUE)
stopifnot(class(rs) == "pheatmap")


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