drop_marker function

Creates a new sequence by dropping markers.

Creates a new sequence by dropping markers.

Creates a new sequence by dropping markers from a predetermined one.

drop_marker(input.seq, mrks)

Arguments

  • input.seq: an object of class sequence.
  • mrks: a vector containing the markers to be removed from the sequence.

Returns

An object of class sequence, which is a list containing the following components:

  • seq.num: a vector containing the (ordered) indices of markers in the sequence, according to the input file.

  • seq.phases: a vector with the linkage phases between markers in the sequence, in corresponding positions. -1

    means that there are no defined linkage phases.

  • seq.rf: a vector with the recombination fractions between markers in the sequence. -1 means that there are no estimated recombination fractions.

  • seq.like: log-likelihood of the corresponding linkage map.

  • data.name: name of the object of class onemap

    with the raw data.

  • twopt: name of the object of class rf_2pts with the 2-point analyses.

@author Marcelo Mollinari, mmollina@usp.br

Examples

data(onemap_example_out) twopt <- rf_2pts(onemap_example_out) all_mark <- make_seq(twopt,"all") groups <- group(all_mark) (LG1 <- make_seq(groups,1)) (LG.aug<-drop_marker(LG1, c(10,14)))

See Also

add_marker

  • Maintainer: Cristiane Taniguti
  • License: GPL-3
  • Last published: 2025-01-10