summary.tsp {tspair} | R Documentation

## Summary of a tsp object

### Description

This function can be used to summarize a TSP object.

### Usage

      ## S3 method for class 'tsp':
      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)

### 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.

### Value

A table.

### Author(s)

Jeffrey T. Leek jtleek@jhu.edu

### 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

      ## 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)

[Package tspair version 1.2.0 Index]