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 June 13, 2025, 9:12 p.m.