fetchBMdata | R Documentation |
Retreives the Budowle and Moretti (1999) and compiles the allele frequency
tables needed for the other parts of this package such as sim
.
fetchBMdata(url = NULL, id = NULL)
url |
- the location of the webpage this data is stored on. If
|
id |
- the id of the HTML element where the data is stored on the
webpage. If |
The first three populations have data on 20 loci, the second three on 13 loci. The missing values (0's in the raw data) have been dropped and are not used in calculating the frequencies. This function will not work if you are not connected to the internet, or access to the internet is blocked.
A list consisting of six elements corresponding to the six
populations detailed in the data set. Each of the list elements is a list in
itself with three further elements named loci
, profiles
and freqs
.
loci
is a vector of the 13-20 STR locus names. freqs
is a list of 13-20
vectors, each vector contains the allele frequencies. profiles
contains the
raw profiles that the allele frequency tables were constructed from.
James M. Curran
Budowle, B. and Moretti, T.R. (1999), Genotype Profiles for Six Population Groups at the 13 CODIS Short Tandem Repeat Core Loci and Other PCR Based Loci, Forensic Science Communications 1(2).
fbiCaucs, USCaucs
## not run
## Not run:
db = fetchBMdata()
names(db)
f = db[["TRINIDADIAN"]]$freqs
dbExpect(f, k = "UN", collapse = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.