remove.marker {onemap}R Documentation

Drop a marker from a linkage group

Description

Removes a genetic marker from a linkage group, i.e., from an object of class extracted.group.

Usage

remove.marker(w, mname = NULL)

Arguments

w an object of class extracted.group.
mname a character string indicating the name of the marker to be removed.

Value

Returns an object of class extracted.group, which is a list containing the following components:

marnames names of markers present in linkage group i, according to the original input file.
number number of the linkage group, according to the numeration in the object of class group from where the linkage group was extracted.
oriname name of the original object of class rf.2pts used to generate the object of class group, i.e., containing the results of two-point analyses.
name name of the object of class group from where the linkage group was extracted.

Note

Intended for dealing with ‘problematic’ markers, that is, markers whose position on the map is hard to estimate, or when linkage is uncertain.

Author(s)

Gabriel R A Margarido, gramarga@esalq.usp.br

See Also

group, print.group and extract.group

Examples

  data(example_out)
  twopts <- est.rf.2pts(example_out)
   
  link_gr <- group(twopts)
  LG1 <- extract.group(link_gr, 1) # extracts the first linkage group
  LG1

  LG1 <- remove.marker(LG1,"M1") # linkage group 1 without first marker
  LG1

[Package onemap version 0.1-1 Index]