multiple_rrarefy: Performs rarefying multiple times and returns averaged OTU...

Description Usage Arguments Value See Also

View source: R/transform_functions.R

Description

Performs rarefying multiple times and returns averaged OTU table

Usage

1
2
multiple_rrarefy(physeq, sample.size = min(sample_sums(physeq)), n,
  start.seed)

Arguments

physeq

(Required). A phyloseq-class object that you want to trim/filter.

sample.size

(Optional). A single integer value equal to the number of reads being simulated, also known as the depth, and also equal to each value returned by sample_sums on the output.

n

The number of times to perform rarefying of OTU table

start.seed

Random seed to start, it will be incremented up to start.seed+n

Value

An object of class phyloseq. Only the otu_table-class component is modified.

See Also

rarefy_even_depth


cpauvert/psadd documentation built on Nov. 22, 2020, 9:19 a.m.