intersect_file_name: Get sample name from two sample replicates

View source: R/util.R

intersect_file_nameR Documentation

Get sample name from two sample replicates

Description

This function takes the absolute/relative path to two files and returns the longest common string among their basenames

Usage

intersect_file_name(file_path = "", file_path2 = "")

Arguments

file_path

Path to the input file

file_path2

Path to the second input file

Value

A string with the longest common basename


TearsWillFall/ULPwgs documentation built on April 18, 2024, 3:45 p.m.