Learn R Programming

cape (version 3.1.2)

delete_underscore: Delete underscores from marker names

Description

Because cape uses underscores to separate marker names from alleles, we need to delete any underscores that were present in the original marker names. This function does that.

Usage

delete_underscore(data_obj, geno_obj = NULL)

Value

lists containing data_obj and geno_obj

with underscores removed from data_obj$geno_names

and dimnames(geno_obj). These two elements must be entered separately into run_cape.

Arguments

data_obj

a Cape object

geno_obj

a genotype object