beta.by.gene: Utility to Associate the Value of beta with the Feature it is...

View source: R/concordmap.R

beta.by.geneR Documentation

Utility to Associate the Value of β with the Feature it is Assocated With

Description

The model associates the coefficients of the random effects with the cluster number. However the cluster numbers are not unique. This utility associates the coefficient with gene that is in the cluster, for each cluster number.

Usage

beta.by.gene(supcluster.list)

Arguments

supcluster.list

The output of supcluster

Value

A matrix is returned with dimensions, the number of MCMC iterations by the number of genes/features +1. The first column is the chain number and the remain columns are the beta value for each of the gene/features

Author(s)

David A. Schoenfeld, Jessie Hsu

References

Added latter

See Also

supcluster,,compare.chains,concordmap

Examples

dat=generate.cluster.data(1)[[1]]
us=supcluster(dat,outcome="outcome",features=1:50,maxclusters=6,nstart=20,n=40)
vs=beta.by.gene(us)
colMeans(vs[,2:7])

supcluster documentation built on May 20, 2022, 1:07 a.m.