gtypes
loci
Convert a gtypes object to a loci object.
gtypes2loci(x)loci2gtypes(x, description = NULL)
loci2gtypes(x, description = NULL)
a '>gtypes or loci formatted object.
a label for the gtypes object (optional).
initialize.gtypes, df2gtypes, sequence2gtypes, as.data.frame.gtypes, gtypes2genind
# NOT RUN { data(msats.g) # Convert to loci lc <- gtypes2loci(msats.g) lc # Convert to gtypes gt <- loci2gtypes(lc) gt # }
Run the code above in your browser using DataLab