Re: [R] Matching Values issue

2019-10-25 Thread Rui Barradas
Hello, That's a floating-point issue. See FAQ 7.31. See also [1], [2] and the links therein. [1] https://stackoverflow.com/questions/9508518/why-are-these-numbers-not-equal [2] https://stackoverflow.com/questions/588004/is-floating-point-math-broken Hope this helps, Rui Barradas Às 10:00 d

Re: [R] how to calculate multiple meta p values

2019-10-25 Thread Ana Marija
this is the function I was referring to: https://www.rdocumentation.org/packages/metap/versions/1.1/topics/sumz On Fri, Oct 25, 2019 at 6:31 PM Ana Marija wrote: > > Hello, > > I would like to use this package metap > to calculate multiple o values > > I have my data frame with 3 p values > > hea

[R] how to calculate multiple meta p values

2019-10-25 Thread Ana Marija
Hello, I would like to use this package metap to calculate multiple o values I have my data frame with 3 p values > head(tt) RSG E B 1: rs2089177 0.9986 0.7153 0.604716 2: rs4360974 0.9738 0.7838 0.430228 3: rs6502526 0.9744 0.7839 0.4291

Re: [R] [FORGED] Matching Values issue

2019-10-25 Thread Rolf Turner
Sigh. See FAQ 7.31. (As someone else has remarked on this list, 7.31 is by far the most frequently asked of all frequently asked questions.) An aside: you should seriously consider upgrading your R installation; the current version is 3.6.1. cheers, Rolf Turner -- Honorary Research Fe

[R] Matching Values issue

2019-10-25 Thread Roberto Martinez Caballero
__ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible cod

Re: [R] read.table and NaN

2019-10-25 Thread Bert Gunter
Please read ?is.finite and sections on NA and NaN in The Intro to R and /or The R Language Definition. You seem to be engaging in lots of incorrect speculation without first having ascertained the facts about how these things work. Bert Gunter "The trouble with having an open mind is that people

Re: [R] read.table and NaN

2019-10-25 Thread Sebastien Bihorel via R-help
My bad, Bert 😉 My point is that my function/framework has very minimal expectations about the source data (mostly, that it is a rectangular shape table of data separated by some separator) and does not have any a-priori knowledge about what the first, second, etc columns in the data files must

Re: [R] R lattice stripplot add median line to data

2019-10-25 Thread PIKAL Petr
Hi See in line > -Original Message- > From: Luigi Marongiu > Sent: Friday, October 25, 2019 1:33 PM > To: PIKAL Petr > Cc: Bert Gunter ; r-help > Subject: Re: [R] R lattice stripplot add median line to data > > Ops, yes now it works. But again it gives a single value for each class >

Re: [R] R lattice stripplot add median line to data

2019-10-25 Thread Luigi Marongiu
Ops, yes now it works. But again it gives a single value for each class (normal, tumour, metastasis). On Fri, Oct 25, 2019 at 1:27 PM PIKAL Petr wrote: > > Hi > > > This essentially has transformed the stripplot into a boxplot... > > NO > > I wrote: > > ***after*** your lattice plot just do... >

Re: [R] R lattice stripplot add median line to data

2019-10-25 Thread PIKAL Petr
Hi > This essentially has transformed the stripplot into a boxplot... NO I wrote: ***after*** your lattice plot just do... and I ment issue addLine after the stripplot is plotted. So first > > > > stripplot( > > > > Aboundance ~ Taxon|Group, > > > > df, > > > > groups = Taxon, > > > >

Re: [R] R lattice stripplot add median line to data

2019-10-25 Thread Luigi Marongiu
This essentially has transformed the stripplot into a boxplot... On Fri, Oct 25, 2019 at 11:19 AM PIKAL Petr wrote: > > Hi > > I asked similar question few yeas ago (in different context) and besed on > answers I made custom function which adds line after the lattice graph is > plotted. > > after

Re: [R] R lattice stripplot add median line to data

2019-10-25 Thread PIKAL Petr
Hi I asked similar question few yeas ago (in different context) and besed on answers I made custom function which adds line after the lattice graph is plotted. after your lattice plot just do addLine(h=aggregate(df$Aboundance, list(df$Group), median)$x, once=T) the function is defined as follow