This works for a variety of tested filenames including things like: FCWB_..._01_warp...

fcgn_forfile(file, checkExists = FALSE)

Arguments

file

Path to file(s) to extract gene_name

checkExists

Check that calculated gene_name exists in identifiers table

Value

Character vector of gene_names (or NA if checkExists fails)

See also

Examples

fcgn_forfile('FruMARCM-M002373_seg002_03.nrrd-files/FruMARCM-M002373_seg002_03.nrrd.am')
#> [1] "FruMARCM-M002373_seg002"