remove_unused_markers: Take out markers not used in cape

View source: R/remove_unused_markers.R

remove_unused_markersR 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)


cape documentation built on May 20, 2022, 1:06 a.m.