Skip to content

katiakoelle/nbclonal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nbclonal

R package for calculating clonal mutations and estimating transmission bottleneck.

Some of the functions in this package uses parallrl:mclapply() to reduce the running time. Unfortunately, mclapply() can only run on mac but not on windows. If you are using an operating system other than mac, you may need to adjust the functions using mclapply() or simply change them into lapply() and modify the arguments.

How to install

You can install this package using devtools:

devtools::install_github("katiakoelle/nbclonal")

Overview

You can inspect all functions included in the package by:

library("nbclonal")
ls("package:nbclonal")

Sample usage and plotting

Please see the file NbClonal.Rmd and the generated pdf file NbClonal.pdffor a detailed description of each function, how they are developed, and ways to plot the results. Since some of the functions has been updated after generating this pdf, the functions may vary a little bit as the ones included in the package. Please use the final version of the functions listed in the package instead of copy-pasting functions from the pdf and rmd file.

About

R package for calculating the clonal variant probability mass function and for estimating the mean transmission bottleneck size

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages