remove_unused_markers {cape}R Documentation

Take out markers not used in cape

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

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

## Not run: 
data_obj <- remove_unused_markers(data_obj, geno_obj)

## End(Not run)


[Package cape version 3.1.0 Index]