find.input.files: Acquire input text files in (experiment, control) pairs

Description Usage Arguments Details Value Examples

View source: R/find_input_files.R

Description

find.input.files scans a given directory for structured output from a lab telomere experiment and organizes them by experiment, control pairs.

Usage

1
find.input.files(path, telo.tag = "Telo", control.tag = "36B4")

Arguments

path

Character vector describing path to input file directory

telo.tag

Character vector describing file tag for experimental condition

control.tag

Character vector describing file tag for control condition

Details

This function aggregates filenames and performs mild error checking on the existence of expected pairs of filenames. It will ignore any file present in the specified directory that does not match the expected general filename format. Paths should be specified using the R convention of "/" as the delimiter between directories (as opposed to the Windows convention of "\"). This function should not be called directly by the end user.

Value

list of pairs of (telomere, control) files

Examples

1
find.input.files("/path/to/Data/Exports")

NCI-CGR/cgrtelomeres documentation built on Feb. 11, 2021, 12:12 p.m.