Description Usage Arguments Value Examples
View source: R/prep_vcf_for_est_m_rd.R
convert a VCF into an 012,-1 matrix and read_depth bin matrix for estimation
1 | prep_vcf_for_est_m_rd(v, DF = "DP", minBin)
|
v |
a vcfR object into which a VCF file has been read |
DF |
Field to use for obtaining total read depth. Currently all that is available is DP. |
minBin |
minimum number of observations for each read depth bin |
This sends back a list with mat012
: the 012,-1 matrix of genotypes, and
dp_bins_list
: the list returned by bin_depths().
1 | pv <- prep_vcf_for_est_m_rd(lobster_buz_2000, minBin = 1000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.