R/getMean.R

Defines functions getMean

Documented in getMean

#' Run Linear Models
#'
#' This function takes in phyloseq object, association matix, p value matrix
#' and create a combined OTU-OTU and OTU-Phenotype network. User can select model to
#' define OTU-Phontype assocaition.
#' @param x A phyloseq object which combined OTU count, taxonomy and metadata
#' @return A matrix of the infile
#' @export

getMean <- function(x){
  m = sum(x)/ length(x)
  m
}
ravinpoudel/PhONA documentation built on Jan. 30, 2023, 5:12 p.m.