Description Usage Arguments Value See Also Examples
View source: R/sample_management.R
Add metadata to MSnExp object.
1 | lcms_meta_add(object, metadata, by = "sampleNames")
|
object |
A lcms_dataset. |
metadata |
A data frame to be merged. |
by |
A column present both in |
A lcms_dataset with the added metadata.
Other metadata functions:
lcms_meta_export(),
lcms_meta_read(),
phData()
Other dataset functions:
IPO_group_peaks(),
find_peaks_cwp(),
lcms_dataset_load(),
lcms_dataset_save(),
lcms_fill_chrom_peaks(),
lcms_filter_mz(),
lcms_filter_polarity(),
lcms_filter_rt_min(),
lcms_filter_sample_type(),
lcms_meta_export(),
lcms_plot_chrom_peak_image(),
lcms_plot_tics(),
lcms_rearrange_datafiles_by_class(),
lcms_retention_time_alignment_plot(),
lcms_tics(),
obiAdjust_Rtime(),
peakpicking_optimization(),
phData()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
dataset <- lcms_dataset_load(system.file
("extdata","dataset.rds",
package = "AlpsLCMS"))
metadata <- lcms_meta_read(system.file("extdata",
"metadata.xlsx",
package = "AlpsLCMS"))
dataset_metadata <- lcms_meta_add(dataset,
metadata,
by = "sampleNames")
print(dataset_metadata)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.