Learn R Programming

drugsens (version 0.1.0)

data_binding: Merge all the dataframes coming out from the QuPath

Description

This function identifies string patterns in the dataset, fills the dataframe with that information, and combines all data into a single file

Usage

data_binding(
  path_to_the_projects_folder,
  files_extension_to_look_for = "csv",
  recursive_search = FALSE,
  forcePath = NULL
)

Value

A concatenated dataframe from all the files within the indicated path

Arguments

path_to_the_projects_folder

String/Path The path where the files coming out of QuPath are located

files_extension_to_look_for

String The extension of the file outputted from QuPath, (default is "csv")

recursive_search

Boolean, it defined the behavior of the file search, if recursive or not, (default is FALSE)

forcePath

String defining an alternative path to the confic file

Examples

Run this code
if (FALSE) {
bind_data <- data_binding(path_to_the_projects_folder = system.file("extdata/to_merge/",
                         package = "drugsens"))
}

Run the code above in your browser using DataLab