Learn R Programming

ABSSeq (version 1.8.0)

ABSDataSet: ABSDataSet object and constructors

Description

ABSDataSet object and constructors

Usage

ABSDataSet(counts, groups, normMethod = c("user", "total", "quartile", "geometric"), sizeFactor = 0, minDispersion = NULL, minRates = 0.1, maxRates = 0.3, LevelstoNormFC = 100)

Arguments

counts
a matrix or table with at least two columns and one row,
groups
a factor with two groups, whose length should be equal with sample size
normMethod
method for estimating the size factors, should be one of 'user', 'total', 'quartile' and 'geometric'. See normalFactors for description.
sizeFactor
ize factors for 'user' method, self-defined size factors by user.
minDispersion
a positive double for user-defined penalty of dispersion estimation
minRates
low bounder rate of baseline estimation for counts difference, default is 0.1
maxRates
up bounder rate of baseline estimation for counts difference, default is 0.3. Setting minRates equal with maxRates will result in a testing on user-define rate,
LevelstoNormFC
maximal level of average standard deviation in fold-change normalization according to expression level, default is 100.

Value

Details

The function contructs an ABSDataSet object with counts table and groups. It also checks the structure of counts and groups.The ABSDataSet is a class, used to store the input values, intermediate calculations and results of an analysis of differential expression. It also contains information for the running time of an analysis.

Examples

Run this code
groups <- factor(c("a","b"))
obj <- ABSDataSet(counts, groups)

Run the code above in your browser using DataLab