mom_nosource: Method of Moments Estimating of Migration Paramter

Description Usage Arguments Value

View source: R/mom_nosource.R

Description

This function estimates the migration parameter, given only data on a local community. This method is an extension from the paper "Taxa-Abundance Distributions in Microbial Communities Using Environmental Sequence Data" by Sloan et al.

Usage

1
mom_nosource(local, meta, pool_est = FALSE)

Arguments

local

A local community of OTU reads for n samples. Rows should be OTUs, Columns should be Samples. A column of taxon indexes should be included at the beginning. Note that if this is not included, the first sample in your data will not be used.

pool_est

to pool meta/source community data during estimation

Value

a list of 2 elements. Element 1 is the estimate for the migration parameter. Element 2 is the mean bray curtis dissimilarity in the local community sample.


kathalexknuts/ntsims documentation built on Oct. 17, 2018, 5:32 a.m.