ref.phylosor: 'ref.phylosor' Calculate phylosor using a single assembalge...

Description Usage Arguments Details Value Author(s) Examples

Description

ref.phylosor Calculate phylosor using a single assembalge as a reference

Usage

1
ref.phylosor(samp, reference, tree)

Arguments

samp

community matrix

reference

community/assemblage to be used as a reference

tree

ape::phylo phylogeny

Details

Exactly as phylosor, except calculates the distance of everything in samp from the reference. A "good" way of dealing with large datasets, if you can't fit everything in memory at the same time.

Value

A vector of the distances of the communities from the reference

Author(s)

Will Pearse, based on picante::phylosor

Examples

1
2
3
4
5
6
7
## Not run: 
require(picante)
data(phylocom)
phylosor(phylocom$sample, phylocom$phylo)
ref.phylosor(phylocom$sample, phylocom$sample[6,], phylocom$phylo)

## End(Not run)

willpearse/willeerd documentation built on May 4, 2019, 6:27 a.m.