NMRMetab_CRS: CRS function

Description Usage Arguments Author(s)

Description

This function will take in either a object of class data.frame and a using a second dataframe with a list of all the metabolite identifed, will return the CRS score for all the bins. this could work with other metabolite identifiers; for example bins with the name of the metabolite, as log as they are unique. mistakes could happen when greple take NAD and NADH

Usage

1
NMRMetabCRS(dat, metabolite_list, correlation_type = "pearson", save_csv = F)

Arguments

dat

a data.frame. Column as variable and rows as sample

metabolite_list

a data.frame. with rows as metabolites.. column names are 'HMDB' and 'Metab'

correlation_type

character string. type of correlation to use for CRS score 'preason'(default) or 'spearman'

save_csv

boolean. save all into result into file

Author(s)

Michele Fresneda Alarcon


mikies21/beetlesNMR documentation built on Sept. 30, 2021, 11:13 a.m.