View source: R/compute_amanida.R
compute_amanida | R Documentation |
compute_amanida
Combines for the same entry or metabolite the statistical values of p-value and fold-change. Also is computed a vote-counting for each compound. Compound combination is made with PubChem CID when is available.
compute_amanida(datafile, comp.inf = F)
datafile |
data imported using |
comp.inf |
include compounds IDs from PubChem, InChIKey, SMILES, KEGG, ChEBI, HMDB, Drugbank, Molecular Mass and Molecular Formula |
Entries corresponding to metabolites are combined as follows:
P-values are combined using Fisher method weighted by N and gamma distribution
Fold-change are combined by weighted mean. Transformation works with fold-change transformed to log scale with base 2.
Vote-counting is computed based on votes. Punctuation of entries is based on trend, up-regulation gives 1, down-regulation give -1 and equal behavior gives 0. Total sum is divided then by the total number of entries on each compound.
METAtable S4 object with p-value combined, fold-change combined and vote-counting for each compound
## Not run:
data("sample_data")
compute_amanida(sample_data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.