heatplate: Heatmap of multi well plate

Description Usage Arguments Details Value Author(s) Examples

View source: R/heatplate.R

Description

This function generate a heatmap (for numeric vector) or categorical plot (character vector) of multi well plate

Usage

1
heatplate(datamatrix, name, size = 7.5)

Arguments

datamatrix

data in matrix format. An easy way to create this is by calling matrix96

name

name to be given for the heatmap

size

plot size for each well in the heatmap (default is 7.5)

Details

Heat map can be generated for any multi well plate data in matrix format (datamatrix). The columns and rows of datamatrix should be labelled appropriately using matrix96. A heatplot is generated if datamatrix is numeric, but a categorical plot is generated if datamatrix is a character matrix.

Value

A graphical plot.

Author(s)

A.A Palakkan

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## loading data
data(metafile96, rawdata96,rawdata384)
rawdata96 <- data2plateformat(rawdata96,platetype = 96)
rawdata384 <- data2plateformat(rawdata384,platetype = 384)

## eg:1 heat map of rawdata96
data<-matrix96(plate2df(rawdata96),"value")
heatplate(data,"Plate 1", size=5)

## eg:2 heat map of rawdata96 can also be called as
heatplate(as.matrix(rawdata96),"Plate 1", size=5)

## eg:3 heat map of rawdata384
heatplate(as.matrix(rawdata384),"Plate 1", size=2)

## eg:4 catagorical map of metafile96 (column:id)
data<-matrix96(metafile96,"id")
heatplate(data,"Plate 1", size=5)

bioassays documentation built on Oct. 23, 2020, 6:48 p.m.