biplot.gmd: The GMD-biplot

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

View source: R/plotting.R

Description

Biplots based on generelized matrix decomposition.

Usage

1
2
## S3 method for class 'gmd'
biplot(x, ...)

Arguments

x

An object of class "gmd" that is the output from GMD.

...

Optional arguments (see Details).

Details

The optional arguments that can be passed in the biplot are

Author(s)

Parker Knight and Yue Wang ywang2310@fredhutch.org

References

Yue Wang, Timothy Randolph, Ali Shojaie and Jing Ma (2019). The GMD-biplot and its application to microbiome data.

See Also

GMD, screeplot.gmd

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
   X = matrix(rnorm(1000), 50, 20)
   autocorr.mat <- function(p, rho) {
     mat <- diag(p)
     return(rho^abs(row(mat)-col(mat)))
     }
   H = autocorr.mat(50, 0.6)
   Q = autocorr.mat(20, 0.7)
   GMD.fit = GMD(X, H, Q, 2)
   screeplot(GMD.fit)
   biplot(GMD.fit)
   
## End(Not run)

taryue/GMDecomp documentation built on Nov. 5, 2019, 10 a.m.