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

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

Examples


istar <- sim_lfq_data_protein_config()
#> creating sampleName from fileName column
#> completing cases
config <- istar$config
analysis <- istar$data
rs <- plot_raster(analysis, config, show_rownames=FALSE)
stopifnot(class(rs) == "pheatmap")
rs <- plot_raster(analysis[1,], config)
#> Warning: The dataset has :1
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")