establishPaths: Determines if arguments are paths or R objects. Makes temp...

View source: R/establishPaths.R

establishPathsR Documentation

Determines if arguments are paths or R objects. Makes temp files when neccesary. Makes a list of files to use in bedtools call. Makes a list of temp files to delete at end of function.

Description

Determines if arguments are paths or R objects. Makes temp files when neccesary. Makes a list of files to use in bedtools call. Makes a list of temp files to delete at end of function.

Usage

establishPaths(input, name = "", allowRobjects = TRUE)

Arguments

input

the input for an argument. Could be a path to a file, an R object (data frame), or a list of any combination thereof

name

the name of the argument

allowRobjects

boolean whether or not to allow R objects as inputs

### Define a function that determines establishes files and paths for bedtools functions


PhanstielLab/bedtoolsr documentation built on Aug. 29, 2024, 5:37 p.m.