Re: [R] Color of points in legend() ignored if plotting to PNG

2016-02-28 Thread Jim Lemon
Works on linux R version 3.2.3 (2015-12-10) Platform: x86_64-redhat-linux-gnu (64-bit) Running under: Fedora 23 (Twenty Three) Jim On Mon, Feb 29, 2016 at 1:45 AM, Boris Steipe wrote: > Works for me on Mac OS... > > R version 3.2.2 (2015-08-14) > Platform:

Re: [R] flag a record

2016-02-28 Thread Ashta
Thank you very much Jim! It is working fine!! On Sun, Feb 28, 2016 at 1:46 AM, Jim Lemon wrote: > Hi Ashta, > This does not seem too difficult: > > DF$flag<-"n" > for(thisname in unique(DF$Name)) { > if(any(DF$year[DF$Name == thisname] %in% c(2014,2015) & >

Re: [R] manage algorithm in R studio

2016-02-28 Thread Boris Steipe
This is probably fun to write, but it's been done many times before. For practical purposes, use the pairwiseAlignment() function in the Biostrings package, distributed by the bioconductor project. cf.:

Re: [R-es] Una consulta urgante

2016-02-28 Thread Francisco Rodriguez Sanchez
Hola Heber, Puedes usar la función shadeDist del paquete fastGraph: https://cran.r-project.org/web/packages/fastGraph/index.html Saludos Paco El 28/02/2016 a las 18:05, heber sarmiento via R-help-es escribió: Apreciados compañeros, En esta oportunidad escribo para solicitar ayuda en

Re: [R-es] Una consulta urgante

2016-02-28 Thread Julio Alejandro Di Rienzo
heber Quizas haya otras opciones pero la funcion polygon la he usado con ese proposito. Es un poco laborioso. mira este ejemplo, te vas a dar cuenta de la idea y=seq(0.1,0.9,0.01) x=qnorm(y,0,1) plot(x,y) d=cbind(x,y) d=rbind(d,c(max(x),min(y))) polygon(d,col=3) Dr. Julio Di Rienzo

Re: [R] manage algorithm in R studio

2016-02-28 Thread Jeff Newmiller
Quite possibly, if Google is to be trusted. -- Sent from my phone. Please excuse my brevity. On February 28, 2016 1:03:28 AM PST, "Matej Matjašec" wrote: >Hello, > >I need some instruction about R studio library, that using algorithm >Needleman - Wunsch and Smith -

[R] manage algorithm in R studio

2016-02-28 Thread Matej Matjašec
Hello, I need some instruction about R studio library, that using algorithm Needleman - Wunsch and Smith - Waterman. How can I present this algorithm in R, calculate maximum score sequence alignment ? It is possible that things in R? Thank you very much in advance for your reply. Greetings,

[R-es] Una consulta urgante

2016-02-28 Thread heber sarmiento via R-help-es
Apreciados compañeros, En esta oportunidad escribo para solicitar ayuda en cuanto a la manera en como debo gráficar la distribución normal de manera que la zona de la probabilidad que se este calculando quede coloreada, estoy queriendo escribir un script que haga esto. De ante mano agradezco

Re: [R] axis break in R

2016-02-28 Thread Marc Girondot
Hi Eike, I didn't know how to do, so it was a nice exercise. Here is a solution using plot(). I have made a function plot.break(); the name of parameters of the function are self-explained (I think), but tell me if you need more explanation. You can add any parameters of the plot() function.

Re: [R] Color of points in legend() ignored if plotting to PNG

2016-02-28 Thread Boris Steipe
Works for me on Mac OS... R version 3.2.2 (2015-08-14) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X 10.9.5 (Mavericks) [...] On Feb 28, 2016, at 8:02 AM, Helmut Schuetz wrote: > Dear all, > > if I plot to a PNG, the color of filled points (pch

Re: [R] is this an R bug or a DBI bug?

2016-02-28 Thread Anthony Damico
tested this out on 3.2.0, 3.2.1, and 3.2.2 -- only happens on 3.2.3, so i assume it was an R bug not a DBI bug. submitted here: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16734 On Sat, Feb 27, 2016 at 6:20 PM, Anthony Damico wrote: > this happens with both

[R] Color of points in legend() ignored if plotting to PNG

2016-02-28 Thread Helmut Schuetz
Dear all, if I plot to a PNG, the color of filled points (pch 21:25) in legend() is ignored (i.e., only the background color is used). It does not matter whether I specify the default png(bg="white") or png(bg="transparent"). The example below x <- rnorm(10) y <- rnorm(10) plot(x, y, pch =