make_local_phylo_dist: Make Local Scale Phylogenetic Distance Matrix

Description Usage Arguments Value Author(s)

View source: R/Local_phylo_dist.R

Description

Function for creating a phylogenetic distance matrix from data that does not require you to subset first.

Usage

1
2
make_local_phylo_dist(focal.species, community.data, phylo,
  square_root = TRUE)

Arguments

focal.species

The focal species or plot identifier that you want to use to create a the phylogeny

community.data

The community data file. Each observation of a species in a community should be its own row. For now, the column specifiy which community is which is called exotic_species, but this will be generalized later using an argument to specifiy which column marks community separators and which column holds the actual species names

phylo

A larger phylogeny that contains all of the species in the community.data file.

square_root

Square root transform branch lengths in distance matrix?

Value

A phylogenetic distance matrix in the form of a data.frame

Author(s)

Sam Levin


levisc8/Fun_Phylo_Package documentation built on June 2, 2020, 8:41 a.m.