DefaultSlot {grandR}R Documentation

Get or set the default slot for a grandR object.

Description

The default slot is used by default by many functions including GetData,GetTable or FitKinetics

Usage

DefaultSlot(data, value = NULL)

DefaultSlot(data) <- value

Arguments

data

A grandR object

value

the name of the new default slot

Details

The default slot can be set either by data<-DefaultSlot(data,"norm") or by DefaultSlot(data)<-"norm".

Value

Either the name of the default slot for DefaultSlot(data) or the grandR data object having the new default slot

See Also

Slots

Examples

sars <- ReadGRAND(system.file("extdata", "sars.tsv.gz", package = "grandR"),
                  design=c("Cell",Design$dur.4sU,Design$Replicate))

DefaultSlot(sars)
sars <- Normalize(sars)     # default behavior is to update the default slot
DefaultSlot(sars)
DefaultSlot(sars)="count"


[Package grandR version 0.2.5 Index]