packedancestrymap_to_afs | R Documentation |
Read allele frequencies from packedancestrymap files
packedancestrymap_to_afs(
pref,
inds = NULL,
pops = NULL,
adjust_pseudohaploid = TRUE,
first = 1,
last = NULL,
verbose = TRUE
)
pref |
Prefix of packedancestrymap files (files have to end in |
inds |
Individuals from which to compute allele frequencies |
pops |
Populations from which to compute allele frequencies. If |
adjust_pseudohaploid |
Genotypes of pseudohaploid samples are usually coded as |
verbose |
Print progress updates |
A list with three data frames: allele frequency data, allele counts, and SNP metadata
## Not run:
afdat = packedancestrymap_to_afs(prefix, pops = pops)
afs = afdat$afs
counts = afdat$counts
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.