Return the First to Last Part of a Data Object
Retrieve the first or last parts of an RGList, MAList, EListRaw, EList, MArrayLM or TestResults object.
## S3 method for class 'EList' head(x, n = 6L, ...) ## S3 method for class 'EList' tail(x, n = 6L, ...)
x |
an object of class |
n |
a single integer.
If positive or zero, number rows of resulting object.
If negative, all but the |
... |
other arguments are not currently used. |
head (tail) returns the first (last) n rows when n >= 0 or all but the last (first) n rows when n < 0.
An object like x but generally with fewer rows.
Gordon Smyth
head in the utils package.
02.Classes gives an overview of data classes used in LIMMA.
E <- matrix(rnorm(40),20,2)
rownames(E) <- paste0("Gene",1:20)
colnames(E) <- c("A","B")
y <- new("EList",list(E=E))
head(y)
tail(y)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.