which_mappings_are_one_to_many: which_mappings_are_one_to_many

Description Usage Arguments Details

View source: R/homologue_filters.R

Description

Takes a dataframe, and identifies any entries in a given column ('seed_col') that have more than one associated entry in another column of that data-frame ('target_col').

Usage

1
which_mappings_are_one_to_many(x, seed_col, target_col, na_rm = TRUE)

Arguments

x

Some data.frame.

seed_col

A single string, one of the column names in x.

target_col

A single string, one of the column names in x.

na_rm

Boolean. Should NA-containing rows be removed from the (seed_col, target_col) sub-dataframe of x before calling one-many status?

Details

NA-containing (seed_col, target_col) pairs are removed prior to determining the number of mappings if 'na_rm=TRUE'.


russHyde/homologiser documentation built on May 19, 2020, 8:20 p.m.