powered by
This function writes allelic data into a text file.
write.loci(x, file = "", loci.sep = " ", allele.sep = "/|", ...)
an object of class "loci".
"loci"
a file name specified by either a variable of mode character, or a quoted string. By default, the data are printed on the console.
the character(s) use to separate the loci (columns) in the file (a space by default).
the character(s) used to separate the alleles for each locus in the file (a slash by default).
further arguments passed to write.table.
write.table
NULL
read.loci, write.table for all its options
read.loci
# NOT RUN { data(jaguar) x <- jaguar[1:10, 1:3] # take a small subset write.loci(x) ## use of '...': write.loci(x, loci.sep = "\t", quote = FALSE, col.names = FALSE) # }
Run the code above in your browser using DataLab