Learn R Programming

bqtl (version 1.0-7)

map.names: Look up names of markers or loci

Description

This is a generic helper function with methods that will return the names of markers or loci.

Usage

map.names(x,...)
map.names.map.frame(x,...)
map.names.bqtl(x, ..., ana.obj)

Arguments

x
An object that has marker names in it. Methods for objects of the map.frame, analysis.object,bqtl, and bqtl.list class.
...
For class(x)=="analysis.object" or class(x)=="map.frame", arguments chromo and cM can be used as in map.index
ana.obj
(optional) analysis object in which to look up the names

Value

  • A character vector

See Also

map.index, map.location

Examples

Run this code
data(little.ana.bc)

map.names(little.ana.bc,chromo=1,cM=24)

map.names(little.ana.bc,chromo=c(1,1),cM=c(40,55))

fit <- bqtl( bc.phenotype ~ locus(23,42) , little.ana.bc )

map.names( fit )

<testonly>rm(fit, little.ana.bc)</testonly>

Run the code above in your browser using DataLab