proj.dir: projection direction

Description Usage Arguments Value Author(s) See Also

View source: R/proj.dir.R

Description

This function is used to estimate the direction that maximize the ANOVA structure of interest.i.e., the direction that contains most useful signal

Usage

1
2
3
4
## S3 method for class 'dir'
proj(data,f1,f2,time.course,type,eb=FALSE,df=0,...)
## S3 method for class 'dir2'
proj(data, f1, f2, tp,type=2,trim=0,...)

Arguments

data

a data matrix containing expression values. Row and column represent gene (probe set) and array respectively

f1

a vector containing the levels of a factor in each array

f2

a vector containing the levels of a factor in each array

time.course

the number of time points for which we took sample

tp

a vector containing the sampling time point of each array

type

an indicator of TANOVA test type. 0: classifies genes into gene sets C1,C2, C3,C4 and C5 (constant genes). 1: test for interaction effect. 2: one-way NANOVA test. 3: test main effect f1. 4: test main effect f2.

trim

the percentage to be trimmed from each end of the data

eb

a logical indicator of whether Empirical Bayesian method should be used in the estimation of significance

df

degree of freedom

...

other arguments to be passed on

Value

a

Estimated optimum projection direction (ANOVA direction)

Author(s)

Baiyu Zhou zhouby98@stanford.edu & Weihong xu weihongx@stanford.edu

See Also

tanova


TANOVA documentation built on May 29, 2017, 12:31 p.m.

Related to proj.dir in TANOVA...