UVEstimator | R Documentation |
estimate the phenotype - mediator matrix V and the genotype - mediator matrix U
UVEstimator( beta, beta2, r, subtract = TRUE, rotate = TRUE, hardThresholding = FALSE, sparse = FALSE, parameters = NULL )
parameters |
list of parameters. |
beta: |
non-null marginal association matrix; each row represents a non-null genotype, each column represents a phenotype |
beta2: |
null marginal association matrix; each row represents a null genotype, each column represents a phenotype |
r: |
number of latent mediators/pathways. |
subtract: |
logical; if true, subtraction of null marginal association matrix from non-null marginal association matrix is conducted. |
rotate: |
logical; if true, rotate the estimated U, V to have clear structures. |
sparse: |
logical; if true, spca from package elasticnet is used to estimate sparse U, V. |
hardThresholding: |
logical; if true, estimated U, V are hard-thresholded to preserve the desired number of non-zero entries. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.