to_composition_matrix: to_composition_matrix

View source: R/conversions.R

to_composition_matrixR Documentation

to_composition_matrix

Description

This function transforms a logratio matrix Y to a composition matrix X

Usage

to_composition_matrix(Y, base = NULL)

Arguments

Y

A vector or matrix of logratios. If a matrix, the samples are listed across the rows and the taxa are listed across the columns

base

base taxon used to calculate logratios


adw96/DivNet documentation built on Oct. 2, 2023, 11:49 a.m.