Ok, I got it, I found a stupid typing error. Just got the genind object.
Tks
J

2011/11/7 JulianaMF <j...@ib.usp.br>

> As I mentioned, the archives with the exact thread were back at the lab.
> Here they are:
> > read.structure(file = "SimStru.str")
>
>  How many genotypes are there?
> 820
>
>  How many markers are there?
> 10
>
>  Which column contains labels for genotypes ('0' if absent)?
> 0
>
>  Which column contains the population factor ('0' if absent)?
> 2
>
>  Which other optional columns should be read (press 'return' when done)?
> 1:
>
>  Which row contains the marker names ('0' if absent)?
> 1
>
>  Are genotypes coded by a single row (y/n)?
> n
>
>  Converting data from a STRUCTURE .stru file to a genind object...
>
> Error in txt[(lastline - n + 1):lastline] :
>   only 0's may be mixed with negative subscripts
>
>
> >
> > Errr, what are you referring to? You also forgot to read the posting
> > guide of this mailing list that asks you to cite the original thread,
> >
> > Uwe Ligges
> >
> >
> > > Juliana
> > >
> >
> --
> Juliana Machado Ferreira
> TED Senior Fellow 2010-2012
> Laboratory of Evolutionary Biology and Vertebrate Conservation
> (LABEC, USP)
> www.sosfauna.org/
>
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/error-message-tp3223412p3998488.html
> Sent from the R help mailing list archive at Nabble.com.
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> 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.
>



-- 
Juliana Machado Ferreira
TED Senior Fellow 2010-2012
Laboratory of Evolutionary Biology and Vertebrate Conservation
(LABEC, USP)
www.sosfauna.org/

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to