Generate a dataframe of start and stop values. These will determine what character sets from the total phylogenetic matrix will appear in each visualization

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

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