View source: R/powermarker_genepop.R
powermarker_genepop | R Documentation |
Function converts Powermarker to standard Genepop format
powermarker_genepop(powermarker, missing_data, path, sampleid = TRUE)
powermarker |
the powermarker data to be manipulated. The first column should be the 'POP_ID' column which identifies the populations. The second column should be 'Sample_ID' which designates the individual sample IDs. The remaining columns contain the locus alleles in the format of 'A/A' etc. |
missing_data |
The symbol (typically "-", "?", or "9") which will be replaced with 000. |
path |
the filepath and filename of output. |
sampleid |
Whether you want the sampleid in your Genepop to be based off the 'Sample_ID' column (TRUE) or the 'POP_ID' column (FALSE) in the powermarker file |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.