mkMarkers | R Documentation |
Create the markers data frame. It contains 5 observations:
locus offset of this marker
locus offset plus an accumulating fudge factor that jumps
with each new chromosome because the count of markers per chromosome is force to be
a multiple of 4. (This value corresponds to the offset of the marker in the
unified_genotype_table
.)
name of the marker
chromosome number of the marker
base pair position of the marker (selected by bpPosMap[below])
mkMarkers(bpPosMap = 1, envir = ENV)
bpPosMap |
An integer that indicates the map (index) to use to merge the chromosome/position fields from the map_table data frame to the marker_table data frame. See showMapNames() for the string name to index mapping. |
envir |
an environment that contains all the data frames created from the SQLite database. |
Select a map (index) from the map_table to merge with the select marker_table data frame to make the marker data frame. See showMapNames() for the string name to index mapping.
None
db = system.file("exdata", "seqsimm.db", package="Mega2R")
ENV = read.Mega2DB(db, verbose = FALSE)
mkMarkers(1)
ENV$markers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.