Nothing
findOversnp <- function(altInvalue=NULL,snprange=NULL){
Inrange <- altInvalue[["alterIntron"]]
if (length(Inrange) == 0){
return (NULL)
}
Inoverapmatrix <- NULL
Startoverapmatrix <- NULL
Endoverapmatrix <- NULL
if (length(Inrange) != 0){
Inoverap <- as.matrix(findOverlaps(snprange,Inrange,select="all"))
range <- paste(start(Inrange),end(Inrange),sep="-")
snplist <- unlist(elementMetadata(snprange))
snplist.locus <- start(snprange)
if (length(Inoverap) != 0){
over.range <- sapply(Inoverap[,"subjectHits"],function(i){
range[as.integer(i)]
})
over.snp <- sapply(Inoverap[,"queryHits"],function(i){
snplist[as.integer(i)]
})
over.locus <- sapply(Inoverap[,"queryHits"],function(i){
snplist.locus[as.integer(i)]
})
#Inoverapmatrix <- cbind(over.range,over.snp,over.locus)
Inoverapmatrix <- cbind(over.snp,over.locus)
#colnames(Inoverapmatrix) <- c("range","snp","locus")
colnames(Inoverapmatrix) <- c("snp","locus")
rownames(Inoverapmatrix) <- c(1:nrow(Inoverapmatrix))
}
}
return (unique(Inoverapmatrix))
}
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.