--
You received this message because you are subscribed to the Google Groups "poppr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to poppr+un...@googlegroups.com.
To post to this group, send email to po...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/poppr/d5016b37-7487-43a2-8a3c-5918289b7c5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Nov 8, 2017, at 10:47 , Jose Freixas <joe...@gmail.com> wrote:JoseThanks in advance.Finally, can you please provide more details about the indNames(dat) you indicated in your email?Dear Zhian,As far as I know, GenAlex doesn't allow me to enter the species names when dealing with SSR data. It only allows me to enter alphanumeric characters. I tried to enter the species names in column 1 where some but not all contain alphanumeric characters and I got the following error:Error in read.genalex("C:/Users/Jose Freixas/Documents/GRIPP/Hazelnut/ABI fragment analysis/Using R for fragment analysis/Database 44 Hazelnut accessions 20171018.csv", : The number of rows in your data do not match the number of individuals specified. 47 individuals specified 19 rows in data Please inspect C:/Users/Jose Freixas/Documents/GRIPP/Hazelnut/ABI fragment analysis/Using R for fragment analysis/Database 44 Hazelnut accessions 20171018.csv to ensure it's a properly formatted GenAlEx file.
This error doesn't happen if I label the samples with consecutive numbers.
On 8 November 2017 at 11:39, Zhian Kamvar <zka...@gmail.com> wrote:
Hi Jose,There's no reason why you can't have your samples labeled with the species/cultivar names in your GenAlEx file. You can name them there. Otherwise, if you already named them with numbers, you can set the sample names in your data set with:indNames(dat) <- vector_of_names # assuming you have a vector of namesYou can plot the output of aboot using the plot.phylo function from ape for further customization.Best,Zhian
-----Zhian N. Kamvar, Ph. D.Postdoctoral Researcher (Everhart Lab)Department of Plant PathologyUniversity of Nebraska-LincolnORCID: 0000-0003-1458-7108
On Nov 8, 2017, at 10:33 , Jose Freixas <joe...@gmail.com> wrote:
Hello all,
I am trying to show the species names in the final dendrogram I get from the aboot function. I have the data in genalex format and I understand I cannot have my samples labeled as alpha characters, instead I should use alpha numeric characters in genalex. That's ok but how can I replace them by the actual species/cultivar names in the final dendrogram?
Any help is much appreciated.
--
You received this message because you are subscribed to the Google Groups "poppr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to poppr+unsubscribe@googlegroups.com.
On Nov 8, 2017, at 14:03 , Jose Freixas <joe...@gmail.com> wrote:then I get the following error:indNames(mydata)<-listMany thanks for your answer. I am trying the indNames function as the read.genalexcel() functio didn't work at all.For the indNames, I have prepared an excel sheet with my new labels, so my coding would be as follows:
mydata<-read.genalex("location.csv", ploidy=2, geo=FALSE, region=FALSE, genclone=TRUE, sep=",", recode=FALSE)
list<-read.csv("location2.csv", header=FALSE)Error in `indNames<-`(`*tmp*`, value = list(V1 = c(15L, 35L, 21L, 12L, : Vector length does not match number of individuals
I double check and I am not missing any samples, both the genealex and the sample list have the same number of individuals. ANy help please?