Skip to content

Commit

Permalink
DOC: rank or robust - same thing
Browse files Browse the repository at this point in the history
  • Loading branch information
stnava committed Aug 9, 2024
1 parent 7a41c0d commit d5bc29e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions R/multiscaleSVDxpts.R
Original file line number Diff line number Diff line change
Expand Up @@ -3173,7 +3173,7 @@ simlr <- function(
vmats,
connectors = NULL,
optimizationStyle = c("lineSearch", "mixed", "greedy"),
scale = c("centerAndScale", "sqrtnp", "np", "center", "norm", "none", "impute", "eigenvalue", "robust", 'whiten', 'lowrank' ),
scale = c("centerAndScale", "sqrtnp", "np", "center", "norm", "none", "impute", "eigenvalue", "robust", 'whiten', 'lowrank', 'rank' ),
expBeta = 0.0,
jointInitialization = TRUE,
sparsenessAlg = NA,
Expand All @@ -3195,7 +3195,7 @@ simlr <- function(
optimizationStyle <- match.arg(optimizationStyle)
scalechoices = c(
"sqrtnp", "np", "centerAndScale",
"norm", "none", "impute", "eigenvalue", "center", "robust", 'lowrank','whiten'
"norm", "none", "impute", "eigenvalue", "center", "robust", 'lowrank','whiten','rank'
)
scaleList <- c()
if (length(scale) == 1) {
Expand Down Expand Up @@ -3300,7 +3300,7 @@ simlr <- function(
if (scaleList[j] == "eigenvalue") {
voxmats[[i]] <- voxmats[[i]] / sum(svd(voxmats[[i]])$d)
}
if (scaleList[j] == "robust") {
if ( scaleList[j] %in% c("robust","rank") ) {
voxmats[[i]] <- robustMatrixTransform(voxmats[[i]])
}
if (scaleList[j] == "whiten") {
Expand Down
2 changes: 1 addition & 1 deletion man/simlr.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d5bc29e

Please sign in to comment.