create_heatmap: Plot out a heatmap

View source: R/outlier_plotting_functions.R

create_heatmapR Documentation

Plot out a heatmap

Description

Plot out a heatmap

Usage

create_heatmap(counttab = counttab,
    colmetatable = NULL, colannotationlist = NULL,
    colclusterparam = FALSE, rowclusterparam = FALSE,
    nameparam)

Arguments

counttab

table with counts, samples -x-axis, features -y-axis

colmetatable

the metatable containing information for the columns

colannotationlist

annotation table for columns, based off colmetatable

colclusterparam

cluster the columns?

rowclusterparam

cluster the rows?

nameparam

the title on the heatmap

Value

prints a pdf heatmap out to the designated outpath

Examples

data("sample_phosphodata")
counttab <- sample_phosphodata
nameparam <- "testplot"

create_heatmap(counttab = counttab,
    colmetatable = NULL,
    colannotationlist = NULL,colclusterparam = FALSE,
    rowclusterparam = FALSE, nameparam)

ruggleslab/blacksheepr documentation built on Feb. 27, 2023, 10:40 p.m.