[GenABEL-dev] databel float type
L.C. Karssen
lennart at karssen.org
Tue Jul 29 10:45:50 CEST 2014
Hi Alvaro,
On 29-07-14 10:26, Frank, Alvaro Jesus wrote:
> Hi Maksim,
>
> Thank you for the info. Sadly I have no idea how to do it.
You mean how to install the tar.gz Maksim provided? This can be done
e.g. by R CMD INSTALL file.tar.gz. See man R.
Lennart.
>
> A Frank
> ------------------------------------------------------------------------
> *From:* Maksim Struchalin [m.v.struchalin at mail.ru]
> *Sent:* Monday, July 28, 2014 6:29 PM
> *To:* Frank, Alvaro Jesus; genabel-devel at lists.r-forge.r-project.org
> *Subject:* Re: [GenABEL-dev] databel float type
>
> Dear Frank,
>
> Try to install the latest version of DatABEL from
> https://app.box.com/s/4rngaf6dp9rkn18i29e2 and run your script again.
> This version was submited on CRAN today and will be publically available
> soon.
>
> Sorry for that your break was so small :-).
> Maksim
>
>
> On 28/07/2014 23:12, Frank, Alvaro Jesus wrote:
>> So yes, it seems utterly broken.
>> I am gonna take a small break until it is fixed.
>>
>> -A Frank
>>
>> ------------------------------------------------------------------------
>> *From:* genabel-devel-bounces at lists.r-forge.r-project.org
>> [genabel-devel-bounces at lists.r-forge.r-project.org] on behalf of
>> Frank, Alvaro Jesus [alvaro.frank at rwth-aachen.de]
>> *Sent:* Monday, July 28, 2014 6:03 PM
>> *To:* genabel-devel at lists.r-forge.r-project.org
>> *Subject:* [GenABEL-dev] databel float type
>>
>> Hi all,
>>
>> what is wrong with this? R:
>> ---------------------------------------------------------------------------------------------
>>
>>
>> library(DatABEL)
>>
>> n = 100 # number of individuals
>> l = 2 # number of covariates
>> m = 10 # number of snps
>> t = 5 # number of traits
>>
>> set.seed(1001)
>> runif(3)
>>
>> XL <- matrix(rnorm((l+1)*n),ncol=(l+1)) # first column should be ones
>> (intercept)
>> for(i in 1:n*l){ if(sample(1:10,1) > 5) XL[i]=0/0}
>>
>> colnames(XL) <- c("intercept", paste("cov",1:l,sep=""))
>> rownames(XL) <- paste("ind",1:n,sep="")
>> XL_db <- matrix2databel(XL,filename="XL",type="FLOAT")
>>
>>
>>
>> ---------------------------------------------------------------------------------------------
>> The error that I get is this:
>>
>> file contains data of unknown type 5
>> Error in !.Call("assignDoubleMatrix", x at data, newi, newj,
>> as.double(value), :
>> invalid argument type
>>
>> I cannot create any more databel flaot files....
>>
>>
>> A Frank
>>
>>
>> _______________________________________________
>> 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
>
>
>
> _______________________________________________
> 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
GPG key ID: A88F554A
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://lists.r-forge.r-project.org/pipermail/genabel-devel/attachments/20140729/b4a049de/attachment.sig>
More information about the genabel-devel
mailing list