writeCSV | R Documentation |
Writes a population of profiles to disk using the original allele designations rather than the internal integer representations that are used for the other functions.
writeCSV(fileName, pop, n = 100, delim = ",")
fileName |
the name and path where the population profiles are to be saved to. |
pop |
a |
n |
the number of people in the database. This is arbitrarily set to 100 by default. |
delim |
The allele delimiter. |
a matrix which contains the table written to file.
Rare alleles are recoded to 108.1. This is unlikely to do the right thing when you have things like <5 or >20 in your allele names. Given it is impossible to predict what a user would like to do, I suggest you recode them yourself before using this function.
James M. Curran
breedFst USCaucs
data(USCaucs)
## Not run:
writeCSV("USCaucs.csv", USCaucs)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.