Makesense | R Documentation |
'Makesense' takes either an ExpressionSet
object or a matrix
of gene expressions and will produce a smoothed positive and negative strands
for all chromosomes.
Makesense(expr, lib, ...)
expr |
Either an |
lib |
The name of the Bioconductor annotation data package that
will be used to provide mappings from probes to chromosomal
locations, such as |
... |
Currently, the only optional argument is |
The expr
argument can either be of class ExpressionSet
or
matrix
, where the latter represents the matrix of gene
expressions.
If the expr
argument is an ExpressionSet
, the lib
argument will use the annotation
slot. Users can override this
behaviour and supply their own lib
argument if they wish. If
the ExpressionSet
has no value associated with the annotation
slot (which should not happen, but is possible) then the user must
supply the lib
argument manually or the function will throw an
error.
A list of 2 components:
ans2 |
a |
lib |
A string giving the name of the annotation data package to
use. Optional if |
Robert Gentleman and Xiaochun Li
plotChr
if (require("hgu133a.db")) {
data(expressionSet133a)
esetobj <- Makesense(exprs(expressionSet133a), "hgu133a")
esetobj2 <- Makesense(expressionSet133a[1:200, ])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.