pc_map {platetools} | R Documentation |
Principal component heatmap in a plate layout
Description
Takes the values and well identifiers, calculates the first principal component, scales and plots the component as a heatmap in the form of a 96 or 384-well plate. A way to quickly show variation of multi-parametric data within a plate.
Usage
pc_map(data, well, plate = 96, ...)
Arguments
data |
Vector of numerical data to calculate the first principal component |
well |
Vector of well identifiers e.g "A01" |
plate |
Number of wells in complete plate (96, 384 or 1536 |
... |
additional parameters to platetools::z_map |
Value
gplot plot
Examples
df <- data.frame(
well = num_to_well(1:96),
vals1 = rnorm(1:96),
vals2 = rnorm(1:96))
pc_map(data = df[, 2:3],
well = df$well,
plate = 96)
[Package platetools version 0.1.7 Index]