Re: [R] iterators : checkFunc with ireadLines

2020-05-20 Thread Jeff Newmiller
There is also apparently a package called disk.frame that you might consider. On May 19, 2020 12:07:38 AM PDT, Laurent Rhelp wrote: >Ok, thank you for the advice I will take some time to see in details >these packages. > > >Le 19/05/2020 à 05:44, Jeff Newmiller a écrit : >> Laurent... Bill is

Re: [R] [FORGED] Re: text annotation on Manhattn plot in qqman

2020-05-20 Thread Paul Murrell
Hi Something like this might do what you want ... ## From example(manhattan) manhattan(gwasResults, annotatePval = 0.0001) library(gridGraphics) grid.echo() ## grid.ls() ## The annotations have "text" in their name labels <- grid.grep("text", grep=TRUE) grid.edit(labels, gp=gpar(cex=1)) Hope

[R] survival anaylsis with tabulated data

2020-05-20 Thread Ergin Artun
Dear R Friends, I'm a medical doctor with some knowledge about statistic and programming. I want to analysis and compare data of different countries with survival or popEpi tools in R. I couldn't able to make tables with one row for every people of countries without illness. I can made a data ta

Re: [R] text annotation on Manhattn plot in qqman

2020-05-20 Thread Michael Dewey
Dear Ana That looks like something is hard coded in manhattan(). The simplest thing might be to contact the maintainer of the package and ask. You can make a copy of manhattan or textxy and modify them but I think the maintainer is the simplest course of action. Michael On 20/05/2020 16:10,

Re: [R] text annotation on Manhattn plot in qqman

2020-05-20 Thread Ana Marija
HI Michael, Thank you so much! That worked!!! Now I am just trying to increase the size of text of SNP and GENE on plot I tried this: a$newname <- paste(a$SNP,"\n", a$GENE) manhattan(a, chr="CHR", bp="BP", snp="newname", p="P",cex = 0.5,annotatePval = 0.0001) but I am getting this error: Error

Re: [R] text annotation on Manhattn plot in qqman

2020-05-20 Thread Michael Dewey
a$newname <- paste(a$SNP, a$GENE) manhattan(a, chr="CHR", bp="BP", snp="newname", p="P",annotatePval = 0.0001) However note that I do not use manhattan() so you may need to alter the parameters as I am assuming a is where it finds the remaining parameters. You may also need to play with the se

Re: [R] iterators : checkFunc with ireadLines

2020-05-20 Thread Ivan Krylov
Hi Laurent, I am not saying this will work every time and I do recognise that this is very different from a more general solution that you had envisioned, but if you are on an UNIX-like system or have the relevant utilities installed and on the %PATH% on Windows, you can filter the input file line

Re: [R] [External] Get a result but an error message as well ?

2020-05-20 Thread Rui Barradas
Hello, I get an error but when running colnames(), not mean(). Notes: 1. I have changed the way the residuals are extracted, if there is a function resid(), the recommended practice is to use it. 2. c("MSE_OLS") and "MSE_OLS" are the identical() objects. Likewise, to return( c(MSE_OLS) ) is to