check_subs: Generate list of character sets to visualize, removing any...

Description Usage Arguments Value Examples

View source: R/check_subsets.R

Description

Generate a dataframe of start and stop values. These will determine what character sets from the total phylogenetic matrix will appear in each visualization. Removes any sets with NULL characters, which cannot be used in phylogenetic estimation. Sources of NULLs may include typos, or two sequences being different lengths.

Usage

1
check_subs(sample_df, phy_mat)

Arguments

sample_df

Dataframe of start and stop vals for character set generation

phy_mat

Name of the phylogenetic matrix from which character sets will be sampled

Value

df

Examples

1
2
3
data(bears)
sample_df <- generate_sliding(phy_mat = bears, start_char = 45, stop_char = 62, steps = 4)
sample_df <- check_subs(sample_df, phy_mat)

wrightaprilm/treesiftr documentation built on July 15, 2019, 11:19 a.m.