R: An S4 class for storing 'ScoreMatrix' function results
ScoreMatrix-class
R Documentation
An S4 class for storing ScoreMatrix function results
Description
The resulting object is an extension of a matrix object, and stores values (typically genome-wide scores) for a predefined set of regions
Each row on the ScoreMatrix is a predefined region (Ex: CpG islands, promoters) and columns are values across those regions.
Constructors
see ScoreMatrix
Coercion
as(from, "matrix"): Creates a matrix from ScoreMatrix object. You can also use S3Part() function to extract the matrix from ScoreMatrix object.
Subsetting
In the code snippets below, x is a ScoreMatrix object.
'x[i,j]': Get or set elements from row i and column j and return a subset ScoreMatrix object.