imprints_heatmap: imprints_heatmap

View source: R/imprints_heatmap.R

imprints_heatmapR Documentation

imprints_heatmap

Description

Function to get the heatmap from your data.

Usage

imprints_heatmap(
  data,
  hit_summary = NULL,
  NN_data = NULL,
  PRcomplex_data = NULL,
  treatment,
  max_na = 0,
  response = c("both", "S", "D"),
  select_cat = c("CC", "CN", "NC"),
  saveHeat = FALSE,
  file_type = c("png", "pdf"),
  file_name = "Heatmap",
  titleH = "Elutriation heatmap",
  gradient_color = c("#005EFF", "#FFFFFF", "#FF0000"),
  cat_color = list(CC = "#FB4F0B", CN = "#0FAEB9", NC = "#E7B700"),
  back_color = "#FFFFFF",
  border_color = NULL
)

Arguments

data

Output data from imprints_average

hit_summary

The summary file from the hitlist output

NN_data

The NN file from the hitlist output

PRcomplex_data

Output data from imprints_complex_mapping. If not NULL and hit_summary NULL, will print different heatmaps according to the protein complex.

treatment

A character telling the condition from which you want to see the heatmap

max_na

An integer indicating the maximum number of missing values per row (per protein)

response

A character to tell if you want to the destabilized proteins, stabilized or both. Accepted value are 'D' for destabilize, 'S' for stabilized or 'both'.

select_cat

A character vector indicating the categories from which you want to see the heatmap

saveHeat

Logical to tell if you want to save the heatmap

file_type

The format file, either 'png' or 'pdf'.

file_name

The file name

titleH

The title for your heatmap

gradient_color

The color for the gradient of the heatmap. Can only be of length three.

cat_color

A list which contains the colors for each categories you selected.

back_color

The color from the background of the heatmap (can be NULL)

border_color

The color from the border of the plot (can be NULL)

Value

A grob object, the heatmap.

See Also

imprints_average , imprints_complex_mapping


mgerault/mineCETSAapp documentation built on April 17, 2025, 7:24 p.m.