Nothing
test_PSMtab2SAM <- function()
{
load(system.file("extdata/GENCODE", "exon_anno.RData", package="proBAMr"))
load(system.file("extdata/GENCODE", "proseq.RData", package="proBAMr"))
load(system.file("extdata/GENCODE", "procodingseq.RData",
package="proBAMr"))
options(stringsAsFactors=FALSE)
passedPSM <- read.table(system.file("extdata", "passedPSM.tab",
package="proBAMr"), sep='\t', header=TRUE)
load(system.file("extdata/res", "SAM.RData", package="proBAMr"))
tmp <- PSMtab2SAM(passedPSM, XScolumn='mvh', exon, proteinseq,
procodingseq)
rownames(tmp) <- NULL
rownames(SAM) <- NULL
checkIdentical(tmp, SAM)
checkEquals(dim(SAM)[2], 21)
checkTrue(!is.na(SAM[1, 1]))
checkEqualsNumeric(as.integer(SAM[1, 5]), 255)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.