Learn R Programming

bayesbio (version 1.0.0)

Miscellaneous Functions for Bioinformatics and Bayesian Statistics

Description

A hodgepodge of hopefully helpful functions. Two of these perform shrinkage estimation: one using a simple weighted method where the user can specify the degree of shrinkage required, and one using James-Stein shrinkage estimation for the case of unequal variances.

Copy Link

Version

Install

install.packages('bayesbio')

Monthly Downloads

522

Version

1.0.0

License

GPL-3

Maintainer

Last Published

May 24th, 2016

Functions in bayesbio (1.0.0)

jaccardSets

Jaccard index of two character vectors.
createStrings

Creates random, unique character strings.
nearestTime

Merge data frames based on the nearest datetime differences.
mgsub

Multiple pattern gsub.
a_hat_mle

Likelihood function of the James-Stein shrinkage factor.
ggHorizBar

Create a color-labeled horizontal bar plot in ggplot2.
subsupDiag

Add values to the super- and sub-diagonals of a matrix.
p.adjust.nlp

Adjust p-values where n is less than p.
unequalVarShrink

Perform James-Stein shrinkage estimation using unequal variances
weightedShrink

Weighted shrinkage estimation.
pubmedQuery

Perform PubMed queries on 2x2 combinations of term vectors.
bayesbio

bayesbio: Miscellaneous functions useful in bioinformatics and Bayesian statistics
allDups

Identify all duplicates values in a vector.
nearestTimeandID

Merge data frames based on the nearest datetime differences and an ID column. Also removes duplicate column names from the result.
cbindFill

cbind while converting missing entries to NA.