filename_replicatenumber: filename_replicatenumber

Description Usage Arguments Examples

View source: R/filename_replicatenumber.R

Description

Append index to end of filename (before the filetype extension such as .fcs) to show its replicate number, eg. "conditionX_1.fcs", "conditionX_2.fcs". Assumes triplicate data that is ordered: replicate number appended depends entirely on each file's position in files (1st = _1, 2nd = _2, 3rd = _3, 4th = _1, and so on).

Usage

1
filename_replicatenumber(filepath = ".", verbose = TRUE)

Arguments

filepath

Path to files. Defaults to current directory.

verbose

Logical. Should it print descriptions of any changes?

Examples

1
2
folder <- "FCS_trimmed"
filename_replicatenumber(filepath = folder)

ec363/filenamer documentation built on March 22, 2020, 2:16 a.m.