Description Usage Arguments Value See Also Examples
Extract enrichment data from an object.
enrichment
extracts enrichment data from a SNPhood
object. The full count data or only a subset can be extracted
by settings the parameters type
, readGroup
and dataset
accordingly. Principally, either the count data
for the unbinned or binned SNP regions can be extracted.
1 2 3 4 5 | enrichment(object, ...)
## S4 method for signature 'SNPhood'
enrichment(object, readGroup = NULL, dataset = NULL,
...)
|
object |
An object containing enrichment information. |
... |
Additional arguments, for use in specific methods. |
readGroup |
Character(1). Default NULL. Read group that should be plotted, specified by its name as obtained by the function |
dataset |
Numeric(1) or Character(1). Single dataset that should be used for plotting, either specified as integer (such as 1, value must be
between 1 and the total number of datasets as defined in the object) or its annotation (name must appear in the dataset names as obtained via the function |
Enrichment of the object or the objects components.
Named list with the requested enrichment matrices from the SNPhood
object, organized by read group and dataset
1 2 | data(SNPhood.o, package="SNPhood")
str(enrichment(SNPhood.o), list.len=5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.