I'm using the read.structure function in the adegenet package to analyze some genetics data, and need to include spatial coordinates in the genid object so I can run a landscape genetics analysis. Adegent package states that a column/s to be included in the other slot should be referenced using "a vector of integers giving the indexes of the columns containing other informations to be read. Will be available in @other of the created object. " However, so far I have been unsuccessful in my coding to produce the correct genid object.

Can anyone assist me with this?

More Joshua Hubbell's questions See All
Similar questions and discussions