7th fileld, Direction contains only "+" and "-"
On Mon, Jun 1, 2020 at 3:46 PM Bert Gunter <bgunter.4...@gmail.com> wrote: > I count 8 fields in your data and 9 names in your heading ?? > > > Bert Gunter > > "The trouble with having an open mind is that people keep coming along and > sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > > On Mon, Jun 1, 2020 at 1:38 PM Ana Marija <sokovic.anamar...@gmail.com> > wrote: > >> Hello, >> >> I have a dataframe like this: >> >> Chr BP Marker MAF A1 A2 Direction pValue N >> 1 10 100000625 10:100000625:A:G 0.416562 G A - 0.558228 1594 >> 2 10 100000645 10:100000645:A:C 0.215182 C A - 0.880622 1594 >> ... >> >> which I load with: >> NEU <- read.table("gokind.neuropathy.fin", >> header=T,stringsAsFactors=FALSE) >> >> and every column is numeric. How to say have all numeric ones stay numeric >> like: Chr, BP, MAF, pValue, N >> >> Thanks >> Ana >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> 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 code. >> > [[alternative HTML version deleted]] ______________________________________________ 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 code.