romicsTrendHeatmap: romicsTrendHeatmap()

View source: R/15_Trend_analysis.R

romicsTrendHeatmapR Documentation

romicsTrendHeatmap()

Description

This function plots a heatmap of all the featuress by trend type

Usage

romicsTrendHeatmap(romics_object, factor = "main", log_factor = FALSE, ...)

Arguments

romics_object

has to be a romics_object created using the function romicsCreateObject() (see dedicated documentation) and has to be numeric.

factor

has to be a factor contained in the romics_object created, the list of factor can be extracted using the function romicsFactorNames() (see dedicated documentation)

log_factor

Boolean, indicate if the factor needs to be log transformed (TRUE), or not (FALSE). By default the factor is not transformed

...

arguments to be passed to heatmap.2() see this function documentation for more details

Details

this function enables to calculate and extract the linear or quardratic trend p values and the best fitted trend (e.g. linear_increasing, linear_decreasing, quadratic_concave,quadratic_convex)

Value

This function returns a list

Author(s)

Geremy Clair and Feng Song


PNNL-Comp-Mass-Spec/RomicsProcessor documentation built on March 18, 2023, 5:14 a.m.