read_simlr_data_frames: Read a list of data frames from disk with SiMLR-specific...

View source: R/multiscaleSVDxpts.R

read_simlr_data_framesR Documentation

Read a list of data frames from disk with SiMLR-specific naming convention

Description

This function reads a list of data frames from disk into a list, assuming the files are named with a common prefix and the names of the data frames. It converts the column named 'X' to the row names of the read data frame.

Usage

read_simlr_data_frames(file_prefix, data_names, verbose = FALSE)

Arguments

file_prefix

A character string used as the prefix for the filenames.

data_names

A character vector of names for the data frames.

verbose

boolean

Value

A list of data frames read from disk with the column named 'X' set as row names.

Examples

# data_names <- c("data1", "data2")
# data_list <- read_simlr_data_frames(file_prefix = "output", data_names = data_names)
# dim(data_list[[1]])
# dim(data_list[[2]])

stnava/ANTsR documentation built on April 13, 2025, 4:10 a.m.