Description Usage Arguments Value Author(s) See Also Examples
This is a internal function to generate a new ReadCountSet object.
1 | newReadCountSet(readCounts, exonIDs, geneIDs)
|
readCounts |
a data frame, read counts for each exon of each samples. Must have colnames, which indicate the label of samples. |
exonIDs |
a character vector indicating exon IDs. |
geneIDs |
a character vector indicating gene IDs. |
A object of the ReadCountSet class.
Xi Wang, xi.wang@newcastle.edu.au
loadExonCountData
,
ReadCountSet-class
1 2 3 4 5 6 7 8 9 | rcounts <- cbind(t(sapply(1:10, function(x) {rnbinom(5, size=10, prob=runif(1))} ) ) ,
t(sapply(1:10, function(x) {rnbinom(5, size=10, prob=runif(1))} ) ) )
colnames(rcounts) <- c(paste("S", 1:5, sep=""), paste("C", 1:5, sep=""))
geneIDs <- c(rep("G1", 4), rep("G2", 6))
exonIDs <- c(paste("E", 1:4, sep=""), paste("E", 1:6, sep=""))
##
RCS <- newReadCountSet(rcounts, exonIDs, geneIDs)
RCS
## End
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.