extract.group {onemap}R Documentation

Extracts a linkage group for further analysis

Description

Takes as input an object of class group and “extracts” a linkage group that is going to be ordered.

Usage

extract.group(w, i = NULL)

Arguments

w an object of class group.
i number of the linkage group to be extracted, according to the numeration found in object w.

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 extracted, according to the numeration in object w.
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 used as input, i.e., containing the information on linkage groups.

Author(s)

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

See Also

group, print.group and remove.marker

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

[Package onemap version 0.1-1 Index]