correlation | R Documentation |

Calculate the correlation of features between two Metabolite objects

correlation( object_X = NULL, object_Y = NULL, method = "pearson", verbose = TRUE )

`object_X` |
The first Metabolite object. |

`object_Y` |
The second Metabolite object. |

`method` |
a character string to calculate correlation coefficient. One of "pearson" (default), "kendall", or "spearman". |

`verbose` |
print log information. |

A data.table with correlation coefficients.

`cor`

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.