ahmohamed / lipID

Fast Lipid Identification from MS/MS spectra

Home Page:https://ahmohamed.github.io/lipID

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

using the add_lib_collection or add_lib Error

13479776 opened this issue · comments

Hi ,

I follow your guide to add the lib. there may be something wrong to edit the lib and search against it. Is there more protocol?

Thanks
Hees

File cotanining list of libraries and their matching rules

rule_file <- system.file("extdata", "library_info.csv", package = "lipID")
readr::read_csv(rule_file)

Folder containing csv files listed in rule_file

lib_dir <- system.file("extdata", package = "lipID")

mylibs <- add_lib_collection(rule_file, path = lib_dir)
mylibs

confirmed_molecules <- match_ms2(ms2_data, mylibs)

#########################
Joining, by = c("mz", "ms2_rt")
Error in UseMethod("rename") :
no applicable method for 'rename' applied to an object of class "NULL"