ls.estimate: Least square estimation

Description Usage Arguments Value Author(s)

View source: R/ls.estimate.R

Description

This is an internal function.

Usage

1
  ls.estimate(data,f1,f2)

Arguments

data

data matrix (gene * array). Each row is a gene. Each column is an array. If data are longitudinal (for example, time course measurements from patients), arrays from same experimental units (e.g. patient) should be adjacent to each other.

f1

a vector of length equal to the number of arrays. Each entry indicates the level of the first factor for corresponding array. The values of f1 should be 1,2,3,...

f2

a vector of length equal to the number of arrays. Each entry indicates the level of the second factor for the corresponding array. The values of f2 should be 1,2,3,... If the experimental has only one factor, let f2=0.

Value

The output is a list object.

Mab

???

Ma

???

Mb

???

Author(s)

Baiyu Zhou zhouby98@stanford.edu & Weihong xu weihongxu@gmail.com


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

Related to ls.estimate in TANOVA...