remove_unused_markers: Take out markers not used in cape

Description Usage Arguments Value Examples

View source: R/remove_unused_markers.R

Description

This function removes any markers that are not used in cape. This includes markers on the sex chromosomes, mitochondrial markers, and any invariant markers.

Usage

1
remove_unused_markers(data_obj, geno_obj, verbose = FALSE)

Arguments

data_obj

a Cape object

geno_obj

a genotype object

verbose

A logical value indicating whether to print progress to the screen. Default is FALSE

Value

an updated Cape object (data_obj)

Examples

1
2
3
4
## Not run: 
data_obj <- remove_unused_markers(data_obj, geno_obj)

## End(Not run)

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