View source: R/main_splinter.R
extractSpliceEvents | R Documentation |
Extracts the location of target, upstream and downstream splice sites Used for calculations and genome visualizations
extractSpliceEvents(
data = NULL,
filetype = "mats",
splicetype = "SE",
fdr = 1,
inclusion = 1,
start0 = TRUE
)
data |
character. path to file |
filetype |
character. type of splicing output. c('mats','custom'). see Details. |
splicetype |
character. c('SE', 'RI', 'MXE', 'A5SS', 'A3SS') |
fdr |
numeric. false discovery rate filter range [0,1] |
inclusion |
numeric. splicing inclusion range, takes absolute value |
start0 |
boolean 0-base start |
filetype 'custom' should provide a 9-column tab-delimited text file with the following columns: ID (Ensembl gene id), Symbol (gene name), chr, strand, exonStart, exonEnd, exon2Start, exon2End, upstreamStart, upstreamEnd, downstreamStart, downstreamEnd eg. ENSG0000012345 chr1 + 3 4 5 6 1 2 7 8
list containing information on
(1) original file type
(2) splice event type
(3) data.frame with splicing regions
Diana Low
http://rnaseq-mats.sourceforge.net/user_guide.htm for MATS file definition
data_path<-system.file("extdata",package="SPLINTER")
splice_data<-extractSpliceEvents(data=paste(data_path,"/skipped_exons.txt",sep=""))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.