Skip to content

Commit

Permalink
DOC: absolute_value in apply_simlr_matrices
Browse files Browse the repository at this point in the history
  • Loading branch information
stnava committed Oct 1, 2024
1 parent 7b739f5 commit 74af576
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
9 changes: 7 additions & 2 deletions R/multiscaleSVDxpts.R
Original file line number Diff line number Diff line change
Expand Up @@ -4812,7 +4812,8 @@ simlr.search <- function(
#' @param robust boolean
#' @param center boolean center the data before applying
#' @param scale boolean scale the data before applying
#' @param absolute_value boolean vector indicating whether to take abs of feature matrices
#' @param absolute_value boolean vector indicating whether to take abs of feature matrices ;
#' set to FALSE by default
#' @param verbose boolean
#'
#' @return A list including (entry one) data frame with the original data frame combined with the projections (entry two) the new column names
Expand All @@ -4824,7 +4825,11 @@ simlr.search <- function(
#' )
#' existing_df <- data.frame(matrix(rnorm(147 * 5), nrow = 147, ncol = 5))
#' # combined_df <- apply_simlr_matrices(existing_df, matrices_list)
apply_simlr_matrices <- function(existing_df, matrices_list, n_limit=NULL, robust=FALSE, center=FALSE, scale=FALSE, absolute_value=FALSE, verbose=FALSE ) {
apply_simlr_matrices <- function(existing_df, matrices_list, n_limit=NULL, robust=FALSE, center=FALSE, scale=FALSE, absolute_value=NULL, verbose=FALSE ) {

if ( is.null( absolute_value ) ) {
absolute_value = rep( FALSE, length( matrices_list ) )
}

replbind <- function(df1, df2) {
# Find the common and unique columns
Expand Down
5 changes: 3 additions & 2 deletions man/apply_simlr_matrices.Rd

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

0 comments on commit 74af576

Please sign in to comment.