Learn R Programming

tspair (version 1.30.0)

summary.tsp: Summary of a tsp object

Description

This function can be used to summarize a TSP object.

Usage

"summary"(object,select=NULL,printall=FALSE,...)

Arguments

object
A tsp object
select
A numerical indicator of which TSP to summarize, if NULL, all TSPs are summarized one at a time
printall
If printall=TRUE all TSPs are summarized at once
...
Summary arguments (ignored)

Value

A table.

Details

summary() accepts a tsp object calculated on an expression set or gene expression matrix. The result is a table of frequencies for the TSP indicator versus the group indicator.

References

D. Geman, C. d'Avignon, D. Naiman and R. Winslow, "Classifying gene expression profiles from pairwise mRNA comparisons," Statist. Appl. in Genetics and Molecular Biology, 3, 2004.

See Also

tspplot, ts.pair, tspcalc,tspsig, predict.tsp

Examples

Run this code
  ## Not run: 
#   ## Load data
#   data(tspdata) 
# 
#   ## Run tspcalc() on a data matrix and grp vector
#   tsp1 <- tspcalc(dat,grp)
# 
#   ## Get the summary for the tsp object. 
#   summary(tsp1)
#   summary.tsp(tsp1)
#  ## End(Not run)

Run the code above in your browser using DataLab