Skip to content

kbroman/mbmixture

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
R
 
 
 
 
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

R/mbmixture

R build status CRAN_Status_Badge

Karl W Broman


R/mbmixture is an R package for evaluating whether a microbiome sample is the mixture of two source samples. We are thinking of shotgun sequencing data on the microbiome sample plus dense SNP genotype data on the two potential source samples. We assume that the data has been reduced to a three-dimensional array of read counts: the 3 possible SNP genotypes for the first sample × the 3 possible SNP genotypes of the second sample × the 2 possible SNP alleles on the reads.

We fit a model with contaminant probability p = proportion of the microbiome sample coming from the second sample and e = rate of sequencing errors.


Installation

You can install R/mbmixture from CRAN:

install.packages("mbmixture")

Vignette

A vignette describing the use of the package is available on the web. Or view it from within R by loading the package and then using the vignette() function.

library(mbmixture)
vignette("mbmixture", package="mbmixture")

Citation

To cite R/mbmixture in publications use:

  • Lobo AK, Traeger LL, Keller MP, Attie AD, Rey FE, Broman KW (2019) Identification of sample mix-ups and mixtures in microbiome data in Diversity Outbred mice. bioRxiv doi:10.1101/529040

License

Licensed under the MIT license. (More information here.)

About

R package for evaluating a microbiome sample as a potential mixture

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published