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

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/concordmap.R

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

1
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

1
2
3
4
dat=generate.cluster.data(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 29, 2017, 12:25 p.m.