[GenABEL-dev] ld-based pruning

L.C. Karssen lennart at karssen.org
Thu Mar 21 19:56:02 CET 2013


On 21/03/13 19:53, L.C. Karssen wrote:
> The only thing that remains in terms of input checking is a check for
> the existence of the ProbABEL config file. But that's easy.

Oops, I should check first before I write. A check for the existence of
the config file is already present.


Lennart.

> 
> 
> Lennart.
> 
> On 20/03/13 12:00, Yurii Aulchenko wrote:
>>
>>     Technically, if we make it part of GenABEL would that mean that GenABEL
>>     depends on DatABEL (now it is only a suggested dependency) since Paul's
>>     function 'require()'s DatABEL? Are there any other R packages that have
>>     functionality that only works if a given package is installed (that is
>>     not in the dependency list but only in the suggested list)?
>>
>>
>>
>> I do not see a big problem with above - e.g. there are functions like
>> minimac2databel in the GenA. They start with
>> (https://r-forge.r-project.org/scm/viewvc.php/pkg/GenABEL/R/minimac2databel.R?view=markup&root=genabel)
>>
>> minimac2databel <- function(imputedgenofile, infofile, outfile, cachesizeMb=64)
>> {
>>   if (!require(DatABEL))
>>     stop("This function requires DatABEL package to be installed")
>>
>>
>> This seems to be accepted practice
>>
>> Yurii
> 
> 
> 
> _______________________________________________
> genabel-devel mailing list
> genabel-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel
> 

-- 
-----------------------------------------------------------------
L.C. Karssen
Utrecht
The Netherlands

lennart at karssen.org
http://blog.karssen.org

Stuur mij aub geen Word of Powerpoint bestanden!
Zie http://www.gnu.org/philosophy/no-word-attachments.nl.html
------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: OpenPGP digital signature
URL: <http://lists.r-forge.r-project.org/pipermail/genabel-devel/attachments/20130321/ffa2c6de/attachment.sig>


More information about the genabel-devel mailing list