The XHMM R code is now available as an R library. There are still two options for using the scripts:
Newer (preferred) option
Install the xhmmScripts package via one of the following methods (you only need to do this once):
Compile it from the main XHMM source code downloaded from the Git repository above:
cd statgen-xhmm-*
make R
Then, run in R:
install.packages(list.files(path=”.”, pattern=”xhmmScripts_.+\.tar\.gz”), repos=NULL, type=”source”)
Download and install the package from CRAN using the install.packages() command in R:
install.packages(“xhmmScripts”)
Download it from the xhmmScripts page at CRAN. Then, run in R:
install.packages(list.files(path=”.”, pattern=”xhmmScripts_.+\.tar\.gz”), repos=NULL, type=”source”)
To use the R code, preface your R scripts with:
library(xhmmScripts)
Discovery of copy number variations (CNVs) from exome read depth using XHMM (eXome-Hidden Markov Model)
Call copy number variation (CNV) from next-generation sequencing data, where exome capture was used (or targeted sequencing, more generally).
Input files:
Please see the following link for original source code: http://atgu.mgh.harvard.edu/xhmm/download.shtml
Installing/using the XHMM R scripts
The XHMM R code is now available as an R library. There are still two options for using the scripts:
Newer (preferred) option
Install the xhmmScripts package via one of the following methods (you only need to do this once):
Compile it from the main XHMM source code downloaded from the Git repository above: cd statgen-xhmm-* make R Then, run in R: install.packages(list.files(path=”.”, pattern=”xhmmScripts_.+\.tar\.gz”), repos=NULL, type=”source”)
Download and install the package from CRAN using the install.packages() command in R: install.packages(“xhmmScripts”)
Download it from the xhmmScripts page at CRAN. Then, run in R: install.packages(list.files(path=”.”, pattern=”xhmmScripts_.+\.tar\.gz”), repos=NULL, type=”source”)
To use the R code, preface your R scripts with: library(xhmmScripts)