get_annotation_path: Get the path to the annotation file.

View source: R/annotation_control.R

get_annotation_pathR Documentation

Get the path to the annotation file.

Description

Takes path to a folder or a file in a folder. Finds THE '.note.' file in the folder and returns the path. Assumes there is only one '.note.' file in each folder.

Usage

get_annotation_path(my_path, note_regex = "readme")

Arguments

my_path

The path to a folder or a file.

note_regex

The unique portion of the name to use for the annotation file, defaults to "readme"

Value

The path to the found annotation file.


Benjamin-Vincent-Lab/housekeeping documentation built on Feb. 17, 2024, 2:13 a.m.