Learn R Programming

bqtl (version 1.0-29)

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,...)

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

Value

  • A character vector

Details

When applied to an object of class bqtl map.names(x, \dots, ana.obj ) can be used to specify where to find the data.

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