Learn R Programming

ALDEx3 (version 1.0.2)

aldex.lm.sim.clr: Simulation function soley for testing and exploring ALDEx3, Truth is in CLR Coordinates.

Description

Not designed to create realistic data. Does not add any noise to linear regression! True W is in CLR Corrdinates

Usage

aldex.lm.sim.clr(D = 10, N = 11, P = 2, depth = 10000)

Value

a list with elements Y, X, W, and Lambda

Arguments

D

number of taxa/genes

N

number of samples

P

number of covariates

depth

sum of counts for each multinomial draw

Author

Justin Silverman