Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/putTargetTable.R
Asssuming that the targets are provided in a NIST mass spectral library, i.e. MSL, format, this function reads the list of targets and the related information.
1 | putTargetTable(target.table = list(), target.table.file = character())
|
target.table |
a list containing the target table information, e.g. obtained using |
target.table.file |
a string including the full name of a text file including the target compounds information. |
This function writes the target table information in a csv file so the user can open the results in text and table editors.
A logical value
Mo R. Nezami Ranjbar
http://omics.georgetown.edu/SIMAT.html
1 2 3 4 5 6 7 8 9 10 11 | # load the target table information
data(target.table)
# create a subset of the table
target.table.sub <- list()
target.table.sub$compound <- target.table$compound[1:2]
target.table.sub$ms <- target.table$ms[1:2]
# write the subset into a csv file
putTargetTable(target.table = target.table.sub,
target.table.file = "TargetTableSub.csv")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.