Description Usage Arguments Examples
A robust estimation of correlation matrix for data with missing entries using a local second order Taylor series approximation of the Fisher z-score values resulting in a quadratic data fidelity function. This algorithm is mentioned in the Supplementary Note of the paper.
1 2 | Robocov_quad(data_with_missing, alpha = 1, loss = c("lasso", "ridge",
"elasticnet"))
|
data_with_missing |
Samples by features data matrix. May contain missing entries (NA) values. |
alpha |
The tuning parameter for the L-1 scaling of the correlation values. |
loss |
Specify if we minimize L-1 ('lasso'), L-2 ('ridge') or elastic-net ('elasticnet') loss functions. |
1 2 3 4 5 6 7 | data("sample_by_feature_data")
out = Robocov_quad(sample_by_feature_data, alpha = 1)
corrplot::corrplot(as.matrix(out), diag = FALSE,
col = colorRampPalette(c("blue", "white", "red"))(200),
tl.pos = "td", tl.cex = 0.4, tl.col = "black",
rect.col = "white",na.label.col = "white",
method = "color", type = "upper")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.