Description Usage Arguments Details Examples
Reads database of allele frequencies
1 | readDatabase(filename)
|
character |
filename |
An tab separated asci file is read and converted to 'ped' format. The first line gives the name of of the marker, the next lines the allele name and frequency. The markers are separated by blank lines.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
library(pedtools)
db = readDatabase("markerDB.txt")
# Attach to a pedigree
x = setMarkers(singleton(1), locusAttributes = db)
# Specify X chromosome
chrom(x, 1:length(db)) = "X"
x
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.