remove_markers: Removes genetic markers

Description Usage Arguments Examples

View source: R/remove_markers.R

Description

Removes genetic markers

Usage

1
remove_markers(data_obj, markers_to_remove)

Arguments

data_obj

a Cape object

markers_to_remove

A vector of marker names to be removed.

Examples

1
2
3
4
5
6
## Not run: 
#remove markers on chromosome 1
marker_idx <- which(data_obj$chromosome == 1)
data_obj <- remove_markers(data_obj, marker_idx)

## End(Not run)

cape documentation built on Feb. 10, 2021, 5:06 p.m.