| head | R Documentation |
Retrieve the first or last parts of a DGEList, DGEExat, DGEGLM, DGELRT or TopTags object.
## S3 method for class 'DGEList' head(x, n = 6L, ...) ## S3 method for class 'DGEList' 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 or head.EList in the limma package.
Counts <- matrix(rpois(40,lambda=10),20,2)
rownames(Counts) <- paste0("Gene",1:20)
colnames(Counts) <- c("A","B")
y <- DGEList(Counts)
head(y)
tail(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.