Learn R Programming

SPEM (version 1.12.0)

s_diff: Calculate slopes from time points and time series matrix.

Description

This function allows users calculate slopes from time points and time series data.

Usage

"s_diff"(TS_eSet)

Arguments

TS_eSet
Time series data in ExpressionSet class. assayData: Matrix with n metabolite in row and m time points in column. phenoData: phenoData type. The sample data.frame should include the label "time", which represents the values of time points.

Value

This function directly return a slope matrix.

Methods

signature(TS_eSet = "ExpressionSet")
This method is created for function s_diff.

Examples

Run this code

#########Load the SOS pathway data #######
data(sos)

#########Calculate results #######

Slope<-s_diff(sos)

Run the code above in your browser using DataLab