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. |

covariatesTable | Create a table summarizing covariates segregated by levels of... |

createStrings | Creates random, unique character strings. |

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

jaccardSets | Jaccard index of two character vectors. |

makeMatSym | Replace the upper or lower triangle of a matrix with the... |

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. |

std_error | Find the standard error of the sampling distribution of a... |

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

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

weightedShrink | Weighted shrinkage estimation. |

write.delim | Write a data frame to a file with delimiter style. |

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.