Learn R Programming

DGEobj (version 1.0.1)

addItems: Add multiple data items

Description

Add multiple data items

Usage

addItems(dgeObj, itemList, itemTypes, parents, itemAttr, overwrite = FALSE)

Arguments

dgeObj

A DGEobj

itemList

A list of data items to add to DGEobj

itemTypes

A list of type values for each item on itemList

parents

(optional) A list of parent values for each item on itemList (optional, but highly recommended)

itemAttr

(optional) An named list of attributes to add to each item

overwrite

Whether to overwrite a matching data object stored in the itemName slot (default = FALSE)

Value

A DGEobj

Examples

Run this code
# NOT RUN {
   # Replace a set of contrasts after adding something to each
   myDGEobj <- addItems(myDGEobj, myContrastList, overwrite= TRUE)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab