summary.tsp: Summary of a tsp object

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/tsp.R

Description

This function can be used to summarize a TSP object.

Usage

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
  ## 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)

tspair documentation built on Nov. 8, 2020, 6:51 p.m.