fit_scores: Function to compute CBEA scores for each set

View source: R/cbea_internals.R

fit_scoresR Documentation

Function to compute CBEA scores for each set

Description

Function to compute CBEA scores for each set

Usage

fit_scores(
  index_vec,
  ab_tab,
  adj,
  distr,
  output,
  n_perm,
  parametric,
  thresh,
  init,
  control
)

Arguments

index_vec

(Character Vector). A character vector indicating the elements of the set of interest

ab_tab

(Matrix). Named n by p matrix. This is the OTU/ASV/Strain table where taxa are columns.

adj

(Logical). See documentation cbea

distr

(Character). See documentation cbea

output

(Character). See documentation cbea

n_perm

(Numeric). The total number of permutations.

parametric

(Logical). See documentation cbea

thresh

(Numeric). See documentation cbea

init

(List). See documentation cbea

control

(List). See documentation cbea

Value

This function returns a list containing output scores and other diagnostics (as sublists)


qpmnguyen/CBEA documentation built on April 4, 2022, 7:25 p.m.