NormCountsMean: NormCountsMean

View source: R/NormCountsMean.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:

  • matrix with mean counts,

  • meanValue for one context/Condition.

Note

Remember to read the Wiki section in https://github.com/askomics/askoR/wiki

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 Jan. 17, 2025, 6:23 p.m.