scphaser is an R package for haplotype phasing using single-cell RNA-seq data.
scphaser is available free to use under the GNU GPL version 3 license.
Installation can be done via the devtools package:
library('devtools')
devtools::install_github('edsgard/scphaser')
scphaser will in the near future be submitted to CRAN, the R package repository.
Once you've installed scphaser you will be able to follow the vignette-tutorial. You can open it by:
vignette('scphaser')
library('scphaser')
data(marinov)
acset = new_acset(featdata = marinov[['featdata']], refcount = marinov[['refcount']],
altcount = marinov[['altcount']], phenodata = marinov[['phenodata']])
acset = call_gt(acset)
acset = filter_acset(acset)
acset = phase(acset)
head(acset[['phasedfeat']])
To get help for specific functions you can use ?fcn, for example:
library('scphaser')
?phase
The complete function reference manual for all functions can be found at "doc/refman.pdf" within the installed library directory. You can also view the latest version by:
browseURL('https://github.com/edsgard/scphaser/tree/master/inst/doc/refman.pdf')
If you use scphaser, please cite it as follows:
Edsgärd D. et al., scphaser: Haplotype Inference Using Single-Cell RNA-Seq Data, Bioinformatics, 2016 DOI: 10.1093/bioinformatics/btw484
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.