Description Usage Arguments Author(s)
View source: R/Methods-LipidomicsSet.R
Calculate the average carbon chain length 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 average chain length is calculated using the equation below:
ACL = (∑ conc_{i,j} x nc_{i,j}) / (∑ con_{i,j} x nfa_{i,j})
The conc represents for the mol concentration, nc for number of carbon, and nfa for number of fatty acyls. The i stands for the ith sample, while j stands for the jth feature.
1 | summarize_ACL(object, name, class)
|
object |
a |
name |
character. The name of the feature variable that contains the
annotation name. The annotation name must be formatted by the
|
class |
character. The name of the feature variable that contains the lipid class. |
Chenghao Zhu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.