generate_sliding: Generate list of character sets to visualize

Description Usage Arguments Value Examples

View source: R/generate_sets.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

Usage

1
generate_sliding(phy_mat, start_char, stop_char, steps)

Arguments

phy_mat

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

start_char

Integer indicating where in the data set to begin generating character sets

stop_char

Integer indicating where in the data set to stop generating character sets

steps

Integer indicating how many characters will be in each set

Value

df Dataframe of slices from the original phylogenetic matrix to be visualized.

Examples

1
sample_df <- generate_sliding(bears, 1, 10, 2)

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