test_diffs {doseR} | R Documentation

## test_diffs Statistics function to summarize expression data of an object, using ratios between selected treatments.

### Description

generateStats is a summary function used on various expression data, using ratios between selected treatments.

### Usage

    test_diffs(se, groupings= NULL, treatment1=NULL, treatment2=NULL,
    mode_mean=TRUE, LOG2=TRUE)

### Arguments

`se` | A SummarizedExperiment object.
`groupings` | A grouping (annotation column); groupings="annotation.ZA".
`treatment1` | Symbol, treatment 1.
`treatment2` | Symbol, treatment 2.
`mode_mean` | Boolean, Calculate RowMeans or RowMedians.
`LOG2` | Boolean, Calculate LOG2.

### Details

This function completes summary statistics of the expression of the supplied SummarizedExperiment object.

### Value

Returns an invisible list of summary statistics, kruskal test and raw data of an object, using ratios between selected treatments.

### Author(s)

AJ Vaestermark, JR Walters.

### References

The "doseR" package, 2018 (in press).

### Examples

    data(hmel.se)
    test_diffs(se, groupings='annotation.ZA',treatment1="Male",
    treatment2="Female" )

[Package doseR version 1.8.0 Index]