bayesHierVar.swHM: Variance estimate by empirical Bayes Hierarchical model...

Description Usage Arguments Author(s)

Description

This function estimates variance for each gene using empirical hierarchical model with the gene's "neighbouring" information for swHM. After deciding the window size, this function will be applied to each gene. To make it more efficient, we calculate each gene's sample variance outside this function.

Usage

1
bayesHierVar.swHM(subdata, s2est)

Arguments

subdata

Data matrix for genes included in this hierarchical model.

s2est

Sample variance for each gene.

Author(s)

Ben Li


benliemory/adaptiveHM documentation built on May 12, 2019, 12:57 p.m.