correlation.test | R Documentation |

Summarization of the continuous information.

correlation.test (x, y, method = c("pearson", "spearman","MINE"), name=NA, perm=100, ...)

`x` |
a numeric vector. |

`y` |
a numeric vector. |

`method` |
a character string indicating which correlation method is to be computed. "pearson" (default), "spearman", or "MINE". |

`name` |
the name of the feature. |

`perm` |
number of permutation needed to estimate the p-value with MINE correlation. |

`...` |
further arguments to be passed to or from methods. |

The function returns a table with the summarized information.

Stefano Cacciatore

Cacciatore S, Luchinat C, Tenori L

Knowledge discovery by accuracy maximization.

*Proc Natl Acad Sci U S A* 2014;111(14):5117-22. doi: 10.1073/pnas.1220873111. Link

Cacciatore S, Tenori L, Luchinat C, Bennett PR, MacIntyre DA

KODAMA: an updated R package for knowledge discovery and data mining.

*Bioinformatics* 2017;33(4):621-623. doi: 10.1093/bioinformatics/btw705. Link

`categorical.test`

,`continuous.test`

, `txtsummary`

data(clinical) correlation.test(clinical[,"Age"],clinical[,"BMI"],name="correlation between Age and BMI")

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.