remove_shared_root_dir: Remove shared path from file paths

View source: R/util.R

remove_shared_root_dirR Documentation

Remove shared path from file paths

Description

For the given character vector of file paths, create a modified version with any common prefix path removed. Forward slashes are used as the path separator on all platforms.

Usage

remove_shared_root_dir(fps_full)

Arguments

fps_full

character vector of file paths.

Value

character vector of same length as input, with any common directory structure trimmed off.


ShawHahnLab/microsat documentation built on Aug. 25, 2023, 11:16 p.m.