Description Usage Arguments Value Examples
The strand information stored in this object is the ratio of Watson to Crick reads 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.
1 | StrandFreqMatrix(counts = matrix(double()))
|
counts |
a double matrix of read count ratios |
a StrandFreqMatrix
1 2 3 4 5 6 | data("exampleWatsonFreq")
data("exampleCrickFreq")
frequencyMatrix <- sapply(1:ncol(exampleCrickFreq),
function(colNum){exampleCrickFreq[,colNum] / exampleWatsonFreq[,colNum]})
StrandFreqMatrix(frequencyMatrix)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.