[R] how to change manhattan plot code to get a different color per chromosome

2020-06-15 Thread Ana Marija
Hello, Is there is a way to set colors in this plot to look like this one in attach (different color for each CHR-there is 22 of them)? library(qqman) results_log <- read.table("meta_p_pos_chr.F", head=TRUE,stringsAsFactors=FALSE) png("META.png") manhattan(results_log,chr="CHR",bp="POS",p="META_

Re: [R] Convergence in Monte Carlo Simulation

2020-06-15 Thread Phat Chau
Dear Michael, So I shouldn't be setting the seed at all then since it is automatic? Or is the suggestion here that a new seed is chosen each time? I think rather than having you guess at the problem (my apologies) I will post the entire of the code (with omissions where it is not directly impa

Re: [R] Rstudio does not run on ubuntu 20

2020-06-15 Thread Luigi Marongiu
Ok I will use another blog. Thank you On Mon, Jun 15, 2020 at 4:03 PM Dirk Eddelbuettel wrote: > > > On 15 June 2020 at 14:46, Luigi Marongiu wrote: > | Hello, > | all of a sudden rstudio stopped working on ubuntu 20.04. I > | re-installed from `rstudio-1.3.959-amd64.deb` but it does not launch >

Re: [R] Rstudio does not run on ubuntu 20

2020-06-15 Thread Dirk Eddelbuettel
On 15 June 2020 at 14:46, Luigi Marongiu wrote: | Hello, | all of a sudden rstudio stopped working on ubuntu 20.04. I | re-installed from `rstudio-1.3.959-amd64.deb` but it does not launch | even if there is an icon. On terminal I got: | ``` | $ rstudio | rstudio: error while loading shared libra

Re: [R] if else statement adjustemtn

2020-06-15 Thread Ana Marija
HI Jim thank you so much! This is amazing answer!!! Ana On Sat, Jun 13, 2020 at 4:09 AM Jim Lemon wrote: > > Right, back from shopping. Since you have fourteen rows containing NAs > and you only want seven, we can infer that half of them must go. As > they are neatly divided into seven rows in

Re: [R] Rstudio does not run on ubuntu 20

2020-06-15 Thread Thierry Onkelinx via R-help
Dear Luigi, This is rather an RStudio problem than an R problem. I suggest contacting RStudio or their community help forum at https://community.rstudio.com/ Best regards, ir. Thierry Onkelinx Statisticus / Statistician Vlaamse Overheid / Government of Flanders INSTITUUT VOOR NATUUR- EN BOSONDE

[R] Fortune nomination!

2020-06-15 Thread J C Nash
On 2020-06-15 9:26 a.m., Martin Maechler wrote: > It allows you to smell the true original fresh air if you > want instead of having to breathe continuously being wrapped > inside sugar candy. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE an

Re: [R] Rstudio does not run on ubuntu 20

2020-06-15 Thread Luigi Marongiu
ok so I'll redirect to Rstudio... Thanks On Mon, Jun 15, 2020 at 3:26 PM Martin Maechler wrote: > > Luigi Marongiu > > on Mon, 15 Jun 2020 14:46:38 +0200 writes: > > > Hello, > > all of a sudden rstudio stopped working on ubuntu 20.04. I > > re-installed from `rstudio-1.3

Re: [R] Rstudio does not run on ubuntu 20

2020-06-15 Thread Martin Maechler
> Luigi Marongiu > on Mon, 15 Jun 2020 14:46:38 +0200 writes: > Hello, > all of a sudden rstudio stopped working on ubuntu 20.04. I > re-installed from `rstudio-1.3.959-amd64.deb` but it does not launch > even if there is an icon. On terminal I got: > ``` > $ r

[R] Rstudio does not run on ubuntu 20

2020-06-15 Thread Luigi Marongiu
Hello, all of a sudden rstudio stopped working on ubuntu 20.04. I re-installed from `rstudio-1.3.959-amd64.deb` but it does not launch even if there is an icon. On terminal I got: ``` $ rstudio rstudio: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such f

Re: [R] if else statement adjustemtn

2020-06-15 Thread Rasmus Liland
On 2020-06-13 19:09 +1000, Jim Lemon wrote: > Right, back from shopping. Since you have fourteen rows containing NAs > and you only want seven, we can infer that half of them must go. As > they are neatly divided into seven rows in which only one NA appears > and seven in which two stare meaningles