Time line of actions performed by the xCelligence device,
supporting CRUD manipulations (create, read, update and delete).
Objects from the Class
Objects can be created by calls of the form
new("RTCAtimeline"). However, it is more common to be called
implicitly by creating an instance of RTCA
object.
Slots
actionTrack:
Object of class "data.frame",
records action track in the form of two-column
data.frame. The two columns must have the names
‘time’ and ‘action’.
timeUnit:
Object of class "character",
recording the unit of time points stored in the actionTrack
slot.
startTime:
Object of class "POSIXct", the
absolute time when the measurement started (at the time point
‘0’)
Methods
addAction
signature(object = "RTCAtimeline", time =
"numeric", action = "character"): add action at the specified time
actionTrack
signature(object = "RTCAtimeline"): get
the action track in the form of data.frame
actionTrack<-
signature(object = "RTCAtimeline", value
= "data.frame"): assign the action track
getAction
signature(object = "RTCAtimeline", time = "numeric"): get
action at the specified time
orderAction
signature(object = "RTCAtimeline"): order
the action track by the time
reset
signature(object = "RTCAtimeline"): undo all
editing of the object and reset it to the initial state
rmAction
signature(object = "RTCAtimeline", time = "numeric"): remove
the action at the specified time
timeUnit
signature(object = "RTCAtimeline"): return the
time unit used by the actiont track
timeUnit<-
signature(object = "RTCAtimeline", value = "character"): assign
the time unit used by the actiont track
start
signature(object = "RTCAtimeline"): return
the starting POSIXct time of the experiment
timeUnit<-
signature(object = "RTCAtimeline", value =
"character"): assign
the starting POSIXct time of the experiment
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(RTCA)
Loading required package: Biobase
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from 'package:stats':
IQR, mad, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, cbind, colnames, do.call, duplicated, eval, evalq,
get, grep, grepl, intersect, is.unsorted, lapply, lengths, mapply,
match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, rank,
rbind, rownames, sapply, setdiff, sort, table, tapply, union,
unique, unsplit
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Loading required package: RColorBrewer
Loading required package: gtools
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/RTCA/RTCAtimeline-class.Rd_%03d_medium.png", width=480, height=480)
> ### Name: RTCAtimeline-class
> ### Title: Class "RTCAtimeline"
> ### Aliases: RTCAtimeline-class
> ### addAction,RTCAtimeline,numeric,character-method actionTrack
> ### actionTrack,RTCAtimeline-method actionTrack<-
> ### actionTrack<-,RTCAtimeline,data.frame-method addAction
> ### addAction,RTCAtimeline,numeric,character-method getAction
> ### getAction,RTCAtimeline,numeric-method orderAction
> ### orderAction,RTCAtimeline-method reset reset,RTCAtimeline-method
> ### rmAction rmAction,RTCAtimeline,numeric-method updateAction
> ### updateAction,RTCAtimeline,numeric,character-method timeUnit
> ### timeUnit,RTCAtimeline-method timeUnit<-
> ### timeUnit<-,RTCAtimeline,character-method startTime
> ### startTime,RTCAtimeline-method startTime<-
> ### startTime<-,RTCAtimeline,POSIXct-method
> ### Keywords: classes
>
> ### ** Examples
>
> tl <- new("RTCAtimeline")
> show(tl)
RTCAtimeline
================================================
time action
0 start
================================================
Time unit: hour
RTCA-run start time: 2016-07-02 23:50:56
>
>
>
>
>
> dev.off()
null device
1
>