Learn R Programming

gomms (version 1.0)

gomms-package:

Description

preliminary analysis of similarity between samples in a low (2 or 3) dimensional display.

Arguments

References

Sohn, M.B. and Li, H. (2017). A GLM-Based Latent Variable Ordination Method for Microbiome Samples (Submitted).

Examples

Run this code
## Not run: ------------------------------------
# # load test data
# 
# data(gomms_test_data);
# 
# # estimate factor scores
# cdat <- as.matrix(gomms_test_data[,-ncol(gomms_test_data)]);
# rslt <- gomms(cdat);
# 
# # plot estimated factor scores
# y <- as.matrix(gomms_test_data$group);
# gomms.plot(rslt, y);
## ---------------------------------------------

Run the code above in your browser using DataLab