monsterCalculateTmPValues: Calculate p-values for a tranformation matrix

View source: R/MONSTER.R

monsterCalculateTmPValuesR Documentation

Calculate p-values for a tranformation matrix

Description

This function calculates the significance of an observed transition matrix given a set of null transition matrices

Usage

monsterCalculateTmPValues(monsterObj, method = "z-score")

Arguments

monsterObj

monsterAnalysis Object

method

one of 'z-score' or 'non-parametric'

Value

vector of p-values for each transcription factor

Examples

# data(yeast)
# design <- c(rep(0,20),rep(NA,10),rep(1,20))
# yeast$exp.cc[is.na(yeast$exp.cc)] <- mean(as.matrix(yeast$exp.cc),na.rm=TRUE)
# monsterRes <- monster(yeast$exp.cc, design, yeast$motif, nullPerms=100, numMaxCores=4)
data(monsterRes)
monsterCalculateTmPValues(monsterRes)

netZoo/netZooR documentation built on June 8, 2024, 6:20 a.m.