Description Usage Arguments Value Mapframe
Validate mapframe
object.
1 2 3 4 5 6 7 | validateMapframe(x, ...)
## S3 method for class 'data.frame'
validateMapframe(x)
## S3 method for class 'mapframe'
validateMapframe(x)
|
x |
A |
TRUE
if object is a valid mapframe
or equivalent
data.frame
; otherwise, returns first error.
A mapframe
object is a class of data.frame
that contains mapped
information, or a data.frame
with equivalent properties. The leftmost
two columns of every mapframe
object must be as follows:
chr
: Chromosome/sequence labels in
the order defined for the current reference genome.
pos
: Map positions in increasing order within each
chromosome/sequence. The map unit used in a mapframe
position
column must be indicated by setting its 'map.unit'
attribute.
Any number of additional data columns can be included. If present, the row
names indicate the locus IDs, which should be unique within the given
mapframe
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.