calcZ {CoGAPS}R Documentation

compute z-score matrix

Description

calculates the Z-score for each element based on input mean and standard deviation matrices

Usage

calcZ(object, whichMatrix)

## S4 method for signature 'CogapsResult'
calcZ(object, whichMatrix)

Arguments

object

an object of type CogapsResult

whichMatrix

either "featureLoadings" or "sampleFactors" indicating which matrix to calculate the z-score for

Value

matrix of z-scores

Examples

data(GIST)
featureZScore <- calcZ(GIST.result, "featureLoadings")

[Package CoGAPS version 3.13.0 Index]