NormCountsMean: NormCountsMean

View source: R/NormCountMean.R

NormCountsMeanR Documentation

NormCountsMean

Description

Calculation mean counts for two contrast or all matrix.

Usage

NormCountsMean(glmfit, ASKOlist, context = NULL)

Arguments

glmfit

fitted linear model object.

ASKOlist

list of data.frame contain condition, contrast and context information made by asko3c.

context

coefficient/contrast tested.

Value

one of this:

  • matrixMean, matrix with mean counts,

  • meanValue for one context/Condition.

Examples

## Not run: 
    # calculate mean counts in contrast contx1_vs_contx2
    mean1<-NormCountsMean(glmfit, ASKOlist, contx1)   # in the 1st context
    mean2<-NormCountsMean(glmfit, ASKOlist, contx2)   # in the 2nd context

    # for all conditions
    n_count<-NormCountsMean(glmfit, ASKOlist, context=NULL)

## End(Not run)


askomics/askoR documentation built on Aug. 11, 2024, 11:05 p.m.