simplifiedNamesByStartEnd: Simplify a vector of names removing the common start and the...

Description Usage Arguments Value Examples

View source: R/myBasicFunctions.R

Description

Simplify a vector of names removing the common start and the common end

Usage

1

Arguments

vecOfNames

a vector with different names to simplify

Value

a vector with the same length as vecOfNames where the start and the end of the names were removed if they were identicals.

Examples

1
2
vecOfNames <- c("sampleOne.bed", "sampleTwo.bed", "sampleThree.bed")
simplifiedNamesByStartEnd(vecOfNames)

lldelisle/usefulLDfunctions documentation built on Nov. 29, 2021, 5:40 a.m.