summarize_EOD: Calculate the Equivalent Double Bond per 18 carbons

Description Usage Arguments Author(s)

View source: R/Methods-LipidomicsSet.R

Description

Calculate the equivalen double bonds per 18 carbons of each lipid class. The input must be a LipidomicsSet-class object. The object must be contain a column in the feature_data slot with the annotation names of each feature. The feature name must be formated using the lipid_name_formater function.

The equivalent of double bond is calculated using the equation below:

EOD_{18} = (∑ conc_{i,j} x ndb_{i,j}) / (∑ conc_{i,j} x nc_{i,j}) x 18

The conc represents for the mol concentration, ndb for number of double bonds, and nc for number of carbon. The i stands for the ith sample, while j stands for the jth feature.

Usage

1

Arguments

object

a LipidomicsSet-class object

name

character. The name of the feature variable that contains the annotation name. The annotation name must be formatted by the lipid_name_formater function

class

character. The name of the feature variable that contains the lipid class.

Author(s)

Chenghao Zhu


zhuchcn/Metabase documentation built on July 23, 2019, 1:36 p.m.