Skip to content

Commit

Permalink
DOC: ... usage / help ...
Browse files Browse the repository at this point in the history
  • Loading branch information
stnava committed Aug 13, 2024
1 parent 2e2b0e9 commit d912096
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 4 additions & 3 deletions R/multiscaleSVDxpts.R
Original file line number Diff line number Diff line change
Expand Up @@ -5481,7 +5481,7 @@ exclusions=NULL, inclusions=NULL, sparseness=NULL, iterations=NULL, verbose=FALS
ebber = 0.99
pizzer = rep( "positive", length(mats) )
objectiver='cca';mixer = 'pca'
if ( energy == 'reg') {
if ( energy %in% c('reg','regression') ) {
objectiver='regression';mixer = 'ica'
}
if ( energy == 'lrr') {
Expand Down Expand Up @@ -5624,6 +5624,7 @@ write_simlr_data_frames <- function(data_list, file_prefix) {
#'
#' @param file_prefix A character string used as the prefix for the filenames.
#' @param data_names A character vector of names for the data frames.
#' @param verbose boolean
#'
#' @return A list of data frames read from disk with the column named `X` set as row names.
#' @examples
Expand All @@ -5632,7 +5633,7 @@ write_simlr_data_frames <- function(data_list, file_prefix) {
#' # dim(data_list[[1]])
#' # dim(data_list[[2]])
#' @export
read_simlr_data_frames <- function(file_prefix, data_names) {
read_simlr_data_frames <- function(file_prefix, data_names, verbose=FALSE ) {
data_list <- list()

for (name in data_names) {
Expand All @@ -5651,7 +5652,7 @@ read_simlr_data_frames <- function(file_prefix, data_names) {

# Store the data frame in the list
data_list[[name]] <- df
}
} else if ( verbose ) print(paste("missing",file_name))
}

return(data_list)
Expand Down
4 changes: 3 additions & 1 deletion man/read_simlr_data_frames.Rd

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

0 comments on commit d912096

Please sign in to comment.