Learn R Programming

SQUADD (version 1.22.0)

plotPredMap: Prediction map

Description

This method is used to visualize the prediction heat-map. The prediction map is generated by mapping a color code on the ratio of the fitted values.

Usage

plotPredMap(object)

Arguments

object
object of the Class SquadSimResServiceImpl.

Details

This method firstly interpolate the SQUAD Simulation Result. Then, it performs a ratio at a user-defined time point. Finally, a color code is assigned to the ratio value. The darker the color, the higher the increase of the node activation.

See Also

More information about heatmap, heatmap More specific information in plotPredMap-methods. For more informations about the input object see SquadSimResServiceImpl-class.

Examples

Run this code
fpath <- system.file("extdata", package="SQUADD")
fileModel <- file.path(fpath,"data_IAA")
nm <- c("ARF(a)", "ARF(i)", "AR_Genes", "Aux/IAA", "BES1/BZR1",
 "BIN2", "BR", "BRI1-BAK1","BRR_Genes","BRX","BR_Biosynthesis",  "BZR1", "DO",
  "IAA", "IAA_Biosynthesis",   "NGA1", "PIN", "SCFTir1","StimAux", "StimBR")
t <- 50

## call constructor
obj <- simResService(
		folder=fileModel,
		time=t,
		ncolor=5,
		legend=nm,
		indexDeno=1,
		method="lowess")

## Apply method 
plotPredMap(obj)

Run the code above in your browser using DataLab