devtools::install_github("lscientific/DhLCM")
Load the R package by running
library(DhLCM)
heteroPCA
: this function performs the HeteroPCA algorithm proposed in Zhang et al., 2015.DhLCM
: this function performs kmeans clustering on the topK
eigenvectors/left singular vectors of the data matrix, and estimates the DhLCM model parameters.
The three real datasets used in our analysis can be found in [https://figshare.com/s/9b4d5964af498d167e85].