# make up a table of data
sim.data <- function() rpoilog(100, 1.0, 1.0, condS=TRUE)
sample1 <- sim.data()
# transform it
hist(f.transform.sample(sample1))
# make up a table of data
sample2 <- sim.data()
otu.ids <- paste('otu', seq(1, 100), sep='')
otu.table <- data.frame(OTU_ID=otu.ids, sample1=sample1, sample2=sample2)
# make a new table from those fitted values
f.table <- f.transform.table(otu.table)
hist(f.table$sample1)
Run the code above in your browser using DataLab