FileOrganizer: File Organizer

View source: R/FileOrganizer.R

FileOrganizerR Documentation

File Organizer

Description

Organize files into folders by batch or class.

Usage

FileOrganizer(x, filetype = ".mzML", by = "Batch", remove = FALSE)

Arguments

x

Datapath character, the path of the metadata file (.csv).

filetype

Character, extension of any kind of files (".mzML", ".mzXML", ".CDF", ".raw", ".txt", ".netCDF", etc.).

by

Character, defines if the organization will be by "Batch" or "Class"; "Batch" by default.

remove

Logical, determines whether files should be removed from the root folder; FALSE by default.

Value

Directories will be created by batch or class and the files will be placed according to the metadata information.

Author(s)

Estevan Bruginski estevan.bruginski@ufpr.br Universidade Federal do Paraná License: MIT + file LICENSE

Examples

## Not run: 
FileOrganizer(x, filetype = c(".mzML", ".mzXML", ".CDF", ".raw", ".txt"), by= c("batch", "class"), remove = FALSE)

## End(Not run)


ebruginski/ChromR documentation built on Feb. 3, 2023, 8:34 a.m.