Description Usage Arguments Value Examples
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()
1 | heatmapper(phgrofit_data, labels = "Sample.ID", mouse_over = NULL)
|
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. |
a heatmaply heatmap.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.