View source: R/statistical_significant.R

This function is used to test significance of comorbidities between two subsets of data.

1 | ```
statistical_significant(DiseaseData1, DiseaseData2, pval, ORmin, countmin, pt)
``` |

`DiseaseData1` |
The primary data frame for defining its associated comorbidities (PAITNET_ID and Phenotype is used) |

`DiseaseData2` |
The secondary data frame for comparing the association with primary data frame |

`pval` |
The original p-value before bonferroni multiple testing correction |

`ORmin` |
The minimum acceptable value for Odd Ratio |

`countmin` |
The minimum acceptable count of patients from both groups having the same comorbidity |

`pt` |
The confidence interval probability |

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.