View source: R/ptrvListHeatmap.r
ptrvListHeatmap | R Documentation |
ptrvListHeatmap returns heatmap with rows as individuals and columns as ions
ptrvListHeatmap(
df,
log = FALSE,
normalizeByEval = FALSE,
ionToRemove = NULL,
formula = as.formula(product + subject + rep ~ ion),
fun.aggregate = "mean",
breaks = NULL,
clusterRows = F,
clusterCols = F,
showRownames = F,
showColnames = T,
annotationRow = "product",
scale = "column",
cex = 0.8,
transpose = FALSE
)
df |
data frame with "ion","intensity","product","subject" columns |
log |
boolean indicated if the intensities should be logged (TRUE) or not (FALSE) |
normalizeByEval |
Boolean. By default TRUE |
ionToRemove |
vector of character containing ions to remove from the analysis |
formula |
as.formula(product+subject+rep~ion) formula to be taken into account |
fun.aggregate |
"mean", "max" or "sum" for regrouping according to the frmula |
breaks |
a sequence of numbers that covers the range of values in mat and is one element longer than color vector. Used for mapping values to colors. Useful, if needed to map certain values to certain colors, to certain values. If value is NA then the breaks are calculated automatically. When breaks do not cover the range of values, then any value larger than max(breaks) will have the largest color and any value lower than min(breaks) will get the lowest color. |
clusterRows |
Boolean indicating whether the rows should be clustered |
clusterCols |
Boolean indicating whether the columns should be clustered |
showRownames |
boolean specifying if row names are be shown. |
showColnames |
boolean specifying if column names are be shown. |
annotationRow |
"product" or "subject" (annotation shown on the left side fo the heatmap) |
scale |
"none","column" or "row". Character indicating if the values should be centered and scaled in either the row direction or the column direction, or none. |
cex |
integer. Size of the text. |
transpose |
boolean specifying if the matrix is previously transposed (TRUE) or not (FALSE) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.