Miscellaneous Functions for Bioinformatics and Bayesian Statistics

a_hat_mle | Likelihood function of the James-Stein shrinkage factor. |

allDups | Identify all duplicates values in a vector. |

bayesbio | bayesbio: Miscellaneous functions useful in bioinformatics... |

cbindFill | cbind while converting missing entries to NA. |

createStrings | Creates random, unique character strings. |

ggHorizBar | Create a color-labeled horizontal bar plot in ggplot2. |

jaccardSets | Jaccard index of two character vectors. |

mgsub | Multiple pattern gsub. |

nearestTime | Merge data frames based on the nearest datetime differences. |

nearestTimeandID | Merge data frames based on the nearest datetime differences... |

p.adjust.nlp | Adjust p-values where n is less than p. |

pubmedQuery | Perform PubMed queries on 2x2 combinations of term vectors. |

subsupDiag | Add values to the super- and sub-diagonals of a matrix. |

unequalVarShrink | Perform James-Stein shrinkage estimation using unequal... |

weightedShrink | Weighted shrinkage estimation. |

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.