Learn R Programming

contiBAIT (version 1.0.0)

StrandStateMatrix-class: A class for storing a data frame of discrete strand states of a set of contigs over several libraries

Description

The strand information stored in this object is a call of the strand state of each contig in each library. mapping to each contig in each library (cell). This should fall within the range (-1,1). This class simply extends matrix, but with additional validity checking.

Constructor for StrandStateMatrix

Usage

StrandStateMatrix(states = matrix(integer()))

Arguments

states
an integer matrix of strand states by library

Value

  • a StrandStateMatrix

Examples

Run this code
StrandStateMatrix(matrix(ncol=2, c(1,3,1,2)))

Run the code above in your browser using DataLab