cfm_read_db: Read CFM precomputed spectra from a database created by...

Description Usage Arguments Value

Description

Read CFM precomputed spectra from a database created by cfm_read_batch

Usage

1
2
3
4
5
6
cfm_read_db(
  db_file = NULL,
  table_name = NULL,
  ID = NULL,
  return_annotation = F
)

Arguments

db_file

[string] Full path to the database file

table_name

[string] Name of table containing the CFM spectra to read

ID

[string] A vector of ID(s) to retrieve from the database

return_annotation

[logical] Should spectra be returned with annotations

Value

A named list of spectra when selected table contains a column named 'spectrum'. Otherwise a tibble.


gjgetzinger/cfmR documentation built on May 11, 2020, 1 p.m.