Computes the association statistics between RER from `getAllResiduals`

and a phenotype paths vector for a binary phenotype made with `tree2Paths`

1 2 | ```
correlateWithBinaryPhenotype(RERmat, charP, min.sp = 10, min.pos = 2,
weighted = "auto")
``` |

`RERmat` |
RER matrix returned by |

`charP` |
phenotype vector returned by |

`min.sp` |
Minimum number of species that must be present for a gene |

`min.pos` |
Minimum number of species that must be present in the foreground (non-zero phenotype values) |

`weighted` |
perform weighted correlation. This option turns on weighted correlation that uses the weights computed by |

`method` |
Method used to compute correlations. Accepts the same arguments as |

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.