TestStatSimple: Calculation of test statistic

Description Usage Arguments Details Value Author(s) References Examples

View source: R/repeated_high_dim.R

Description

Calculation of test statistic

Usage

1

Arguments

Y

Matrix with differences of paires. Rows represent features (e.g. genes, proteins,...), columns represent samples.

H

Hypothesis matrix.

Details

Calculates the test statistic for RepeatedHighDim in the case of paired samples.

Value

A list containing the following items:

k

Indicates whether the paired or unpaired case was tested.

d

Number of features.

n1

Number of samples in group 1.

n2

Number of samples in group 2.

Fn

Test statistic.

f

First degree of freedoms.

f2

Second degree of freedom.

p

p-value.

Author(s)

Klaus Jung

References

Examples

1
2
3
4
5
###### Global comparison of a set of 100 genes between two experimental groups.
X1 = matrix(rnorm(1000, 0, 1), 10, 100)
X2 = matrix(rnorm(1000, 0.1, 1), 10, 100)
RHD = RepeatedHighDim(X1, X2, paired=FALSE)
summary(RHD)

jkruppa/RepeatedHighDim documentation built on May 19, 2019, 12:45 p.m.