Drop markers without any genotype data

Share:

Description

Drop markers, from the data matrices and genetic maps, that have no genotype data.

Usage

1
drop.nullmarkers(cross)

Arguments

cross

An object of class cross. See read.cross for details.

Value

The input object, with any markers lacking genotype data removed from the genotype data matrices, genetic maps, and, if applicable, any derived data (such as produced by calc.genoprob). (It might be a good idea to re-derive such things after using this function.)

Author(s)

Karl W Broman, kbroman@biostat.wisc.edu

See Also

nullmarkers, drop.markers, clean.cross, geno.table

Examples

1
2
3
4
5
6
7
# removes one marker from hyper
data(hyper)
hyper <- drop.nullmarkers(hyper)

# shouldn't do anything to listeria
data(listeria)
listeria <- drop.nullmarkers(listeria)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.