getPvalue: Calculates Pitman-Morgan variance test on two matrices

View source: R/mbqnThreshold.R

getPvalueR Documentation

Calculates Pitman-Morgan variance test on two matrices

Description

Calculates Pitman-Morgan variance test on two matrices

Usage

getPvalue(mtx1, mtx2)

Arguments

mtx1

Matrix with samples in columns and features in rows

mtx2

Matrix with samples in columns and features in rows

Value

Data frame with p values and statistics

Examples

set.seed(30)
n <- 20
m <- 20
mtx1 <- matrix(rnorm(m * n), m, n)
mtx2 <- mbqn(mtx1, FUN = "mean")
getPvalue(mtx1, mtx2)

arianeschad/MBQN documentation built on April 1, 2022, 7:08 a.m.