heatmap_lipidome {lipidomeR} | R Documentation |
Create 'lipidomeR' heatmaps of arbitrary lipid-specific values.
Description
Use this function to create a heatmap of any lipid-specific values.
Note: Use the function heatmap_lipidome_from_limma
to create
heatmaps of model statistics.
Usage
heatmap_lipidome(
x,
names.mapping,
axis.x.carbons = TRUE,
class.facet = "row",
fill.direction = "increasing",
fill.limits = c(0, 40),
fill.midpoint = 20,
melt.value.name = "CV",
melt.variable.name = NULL,
melt.x = TRUE,
range.min.N.carbons = 5,
range.min.N.double.bonds = 5,
scale.fill.log = NULL,
scales = "free_y",
space = "free",
x.names = "row.names",
x.variables = NULL
)
Arguments
x |
(Required) named vector of numeric values to create a figure of.
Names need to match to the argument names.mapping through
the function |
names.mapping |
(Required) mapping of lipid names from
the |
axis.x.carbons |
(Optional) |
class.facet |
(Optional) character string with possible values
|
fill.direction |
(Optional) |
fill.limits |
(Optional) numeric vector of length two, indicating the limits of the fill scale. |
fill.midpoint |
(Optional) numeric value specifying the midpoint of the fill scale. |
melt.value.name |
(Optional) character string, specifying the name of the variable that will be shown as fill in the heatmap. |
melt.variable.name |
(Optional) character string, specifying the name of of the variable that will be used to creating faceted sub-heatmaps. |
melt.x |
(Optional) |
range.min.N.carbons |
(Optional) numeric value to specify the minimum range of the axis showing the lipid size (number of carbon atoms in the fatty acid chains). This value can be increased from the default value to improve readability in situtions, where there are lipid classes with little or no variation in the lipid size. |
range.min.N.double.bonds |
(Optional) numeric value to specify the minimum range of the axis showing the lipid saturation (number of double bonds in the fatty acid chains). This value can be increased from the default value to improve readability in situtions, where there are lipid classes with little or no variation in the lipid saturation. |
scale.fill.log |
(Optional) numeric value specifying the base of the logarithm, which will be used to creating a logarithmic scale for the fill scale of the plot. |
scales |
(Optional) character string with possible values
|
space |
(Optional) character string with possible values
|
x.names |
(Optional) character string specifying the name of the
variable in the argument |
x.variables |
(Optional) character vector specifying the names of
the variables, which will be included as individual facets in
the figure.
Use this argument only together with |