heatmapper: heatmapper: Creating an interactive heatmap with colored...

Description Usage Arguments Value Examples

View source: R/heatmapper.R

Description

Intended to allow the user to easily generate interactive heatmaps from phgrofit data. Note that the values should first be scaled before using this function. This can be acomplished with scale_phgrofit()

Usage

1
heatmapper(phgrofit_data, labels = "Sample.ID", mouse_over = NULL)

Arguments

phgrofit_data

This is the output origniating from phgrofit or one of it's modifying functions such as scale_phgrofit or avg_phgrofit.

labels

This is a character vector specifiying what colored labels you would like to be displayed beside the heatmap. There can be several labels, but the color palette will get overwhelmed if there are too many values associated with the labels you choose.

mouse_over

This is the name of a column that you would like to include in a mouse over of the heatmap.

Value

a heatmaply heatmap.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# phgropro processing
## Not run: phgropro_output = phgropro(biotek_export = filepath.txt,metadata = metadata.csv,Plate_Type = 96)

# phgrofit processing
## Not run: phgrofit_output = phgrofit(phgropro_output)

## processing phgrofit data by averaging and scaling
## Not run:  phgrofit_data = avg_phgrofti(phgrofit_output,c("Community","Compound")) %>%
scale_phgrofit()
## End(Not run)
### plotting heatmap with colored labels for community and mouse over information about the compounds.
## Not run: community_heatmap = heatmapper(phgrofit_data,"Community","Compound")
community_heatmap
## End(Not run)

Kaleido-Biosciences/phgrofit documentation built on Feb. 8, 2022, 5:16 a.m.