Browse code

replace deprecated .path.package() with path.package()

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/Rtreemix@81253 bc3139a8-67e5-0310-9ffc-ced21a209358

Dan Tenenbaum authored on 07/10/2013 22:46:57
Showing2 changed files

... ...
@@ -1,7 +1,7 @@
1 1
 Package: Rtreemix
2 2
 Type: Package
3 3
 Title: Rtreemix: Mutagenetic trees mixture models.
4
-Version: 1.23.0
4
+Version: 1.23.1
5 5
 Author: Jasmina Bogojeska
6 6
 Maintainer: Jasmina Bogojeska <jasmina@mpi-inf.mpg.de>
7 7
 Description: Rtreemix is a package that offers an environment for estimating the mutagenetic trees mixture models from cross-sectional data and using them for various predictions. It includes functions for fitting the trees mixture models, likelihood computations, model comparisons, waiting time estimations, stability analysis, etc.
... ...
@@ -92,7 +92,7 @@ It should be also pointed out that a text file with a specific format can be use
92 92
 such file is the file \textit{treemix.pat} in the \textit{examples} directory of the package. The text files used to create an \texttt{RtreemixData} 
93 93
 object should follow the format of this file. Using \textit{treemix.pat} the \texttt{RtreemixData} object is created as follows.
94 94
 <<results = hide>>=
95
-ex.data <- new("RtreemixData", File = paste(.path.package(package = "Rtreemix"), "/examples/treemix.pat", sep = ""))
95
+ex.data <- new("RtreemixData", File = paste(path.package(package = "Rtreemix"), "/examples/treemix.pat", sep = ""))
96 96
 show(ex.data) ## show the RtreemixData object
97 97
 @
98 98
 One can also create an \texttt{RtreemixData} object by specifying the set of patient profiles as a binary matrix as shown in the code below.