Re: [R] Warning message: NAs introduced by coercion

2019-01-09 Thread David L Carlson
-project.org Subject: Re: [R] Warning message: NAs introduced by coercion Yes, sorry. I attached the file once again. Well, still getting the same warning. > class(genod) <- "numeric" Warning message: In class(genod) <- "numeric" : NAs introduced by coercion > class(

Re: [R] Warning message: NAs introduced by coercion

2019-01-09 Thread PIKAL Petr
Geno(filn, genmat = genod, + sample.id<http://sample.id> = sample.id<http://sample.id>, snp.id<http://snp.id> = snp.id<http://snp.id>, + snp.chromosome = snp.chromosome, + snp.position = snp.position, +

Re: [R] Warning message: NAs introduced by coercion

2019-01-09 Thread PIKAL Petr
From: N Meriam Sent: Tuesday, January 8, 2019 4:36 PM To: PIKAL Petr Cc: r-help@r-project.org Subject: Re: [R] Warning message: NAs introduced by coercion I see... Here's a portion of what my data looks like (csv file attached). I run again and here are the results: df4 <- read.

Re: [R] Warning message: NAs introduced by coercion

2019-01-08 Thread N Meriam
-- > David L. Carlson > Department of Anthropology > Texas A&M University > > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of N Meriam > Sent: Tuesday, January 8, 2019 1:38 PM > To: Michael Dewey > Cc: r-he

Re: [R] Warning message: NAs introduced by coercion

2019-01-08 Thread David L Carlson
ty -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of N Meriam Sent: Tuesday, January 8, 2019 1:38 PM To: Michael Dewey Cc: r-help@r-project.org Subject: Re: [R] Warning message: NAs introduced by coercion Here's a portion of what my data looks

Re: [R] Warning message: NAs introduced by coercion

2019-01-08 Thread N Meriam
t; > [5,] "100024550|F|0-16:G>A-16:G>A" "3" "3" "3" "3" > > [6,] "1106702|F|0-8:C>A-8:C>A" "0" "0" "0" "0" > > > >> class(genod2) <- "numeric"Warni

Re: [R] Warning message: NAs introduced by coercion

2019-01-08 Thread Michael Dewey
quot;matrix" # read data > filn <-"simTunesian.gds"> snpgdsCreateGeno(filn, genmat = genod,+ sample.id = sample.id, snp.id = snp.id,+ snp.chromosome = snp.chromosome,+ snp.position = snp.position,+ snp.a

Re: [R] Warning message: NAs introduced by coercion

2019-01-08 Thread N Meriam
ot;> class(genod2)[1] "matrix" > # read data > filn <-"simTunesian.gds"> snpgdsCreateGeno(filn, genmat = > genod,+ sample.id = sample.id, snp.id = snp.id,+ > snp.chromosome = snp.chromosome,+ snp.position

Re: [R] Warning message: NAs introduced by coercion

2019-01-08 Thread PIKAL Petr
Hi see in line > -Original Message- > From: R-help On Behalf Of N Meriam > Sent: Tuesday, January 8, 2019 3:08 PM > To: r-help@r-project.org > Subject: [R] Warning message: NAs introduced by coercion > > Dear all, > > I have a .csv file called df4. (15752

[R] Warning message: NAs introduced by coercion

2019-01-08 Thread N Meriam
Dear all, I have a .csv file called df4. (15752 obs. of 264 variables). I apply this code but couldn't continue further other analyses, a warning message keeps coming up. Then, I want to determine max and min similarity values, heat map plot, cluster...etc > require(SNPRelate) > library(gdsfmt) >