phyDat(data, type = "DNA", levels = NULL, return.index = TRUE, ...)as.phyDat(x, ...)
# S3 method for factor
as.phyDat(x, ...)
# S3 method for DNAbin
as.phyDat(x, ...)
# S3 method for AAbin
as.phyDat(x, ...)
# S3 method for alignment
as.phyDat(x, type = "DNA", ...)
phyDat2alignment(x)
# S3 method for MultipleAlignment
as.phyDat(x, ...)
# S3 method for AAStringSet
as.phyDat(x, ...)
# S3 method for DNAStringSet
as.phyDat(x, ...)
as.StringSet(x, ...)
# S3 method for phyDat
as.StringSet(x, ...)
# S3 method for phyDat
as.MultipleAlignment(x, ...)
# S3 method for phyDat
as.character(x, allLevels = TRUE, ...)
# S3 method for phyDat
as.data.frame(x, ...)
# S3 method for phyDat
as.DNAbin(x, ...)
# S3 method for phyDat
as.AAbin(x, ...)
genlight2phyDat(x, ambiguity = NA)
acgt2ry(obj)