View source: R/high_level_functions.R
isoformSwitchAnalysisCombined | R Documentation |
This high-level function uses a pre-existing switchAnalyzeRlist as input. Then isoform switches are identified, annotated with ORF and intron retention. Then functional consequences are identified and isoform switch analysis plots are generated for the top n
isoform switches. Lastly a plot summarizing the global effect of isoform switches with functional consequences is generated. If external analysis of protein domains (Pfam), coding potential (CPAT) or signal peptides (SignalP) should be incorporated please use the combination of isoformSwitchAnalysisPart1
and isoformSwitchAnalysisPart2
instead.
isoformSwitchAnalysisCombined(
### Core arguments
switchAnalyzeRlist,
### Annotation arguments
genomeObject = NULL,
pathToGTF = NULL,
### Analysis and output arguments
n = Inf,
consequencesToAnalyze = c('intron_retention', 'ORF_seq_similarity', 'NMD_status'),
pathToOutput = getwd(),
fileType = 'pdf',
outputPlots = TRUE,
### Other arguments
quiet = FALSE
)
switchAnalyzeRlist |
A |
genomeObject |
A |
pathToGTF |
A string indicating the full path to the (gziped or unpacked) GTF file which contains the the known annotation (aka from a official source) which was used to guided the transcript assembly (isoform deconvolution). |
n |
The number of top genes (after filtering and sorted according to |
consequencesToAnalyze |
A vector of strings indicating what type of functional consequences to analyze. Do note that there is bound to be some differences between transcripts (else there would be identical). See details in analyzeSwitchConsequences for full list of usable strings and their meaning. Default is c('intron_retention','coding_potential','ORF_seq_similarity','NMD_status','domains_identified','signal_peptide_identified') (corresponding to analyze: intron retention, CPAT result, ORF AA sequence similarity, NMD status, PFAM domains annotated and signal peptides annotated by Pfam). |
pathToOutput |
A path to the folder in which the plots should be made. Default is working directory ( getwd() ). |
fileType |
A string indicating which file type is generated. Available options are \'pdf\' and \'png\'. Default is pdf. |
outputPlots |
A logic indicating whether all isoform switches as well as the summary of functional consequences should be saved in the directory specified by |
quiet |
A logic indicating whether to avoid printing progress messages (incl. progress bar). Default is FALSE |
This function performs the full Isoform Analysis Workflow by
Remove non-expressed isoforms and single-isoform genes (see preFilter)
predict swithces (only if switches is not already annotated, see isoformSwitchTestDEXSeq)
Analyzing the isoforms for open reading frames (ORFs, see analyzeORF)
Output fasta files containing the nucleotide and amino acid sequences which enables external sequence analysis with CPAT, Pfam and SignalP (see extractSequence)
Predict functional consequences of switching (see analyzeSwitchConsequences)
Ouput Isoform Switch Analysis plots for all genes with a signicant switch (see switchPlot)
Ouput a visualization of general consequences of isoform switches.
This function outputs:
The supplied switchAnalyzeRlist
now annotated with all the analysis described above
One folder per comparison of condition containing the isoform switch analysis plot of all significant isoforms.
A plot summarizing the overall consequences off all the isoform switches.
Kristoffer Vitting-Seerup
Vitting-Seerup et al. The Landscape of Isoform Switches in Human Cancers. Mol. Cancer Res. (2017).
isoformSwitchAnalysisPart1
isoformSwitchAnalysisPart2
preFilter
isoformSwitchTestDEXSeq
isoformSwitchTestSatuRn
analyzeORF
extractSwitchSummary
analyzeSwitchConsequences
switchPlotTopSwitches
data("exampleSwitchList")
exampleSwitchList
library(BSgenome.Hsapiens.UCSC.hg19)
exampleSwitchListAnalyzed <- isoformSwitchAnalysisCombined(
switchAnalyzeRlist=exampleSwitchList,
outputPlots = FALSE # keeps the function from outputting the Isoform Switch AnalyzeR Plots from this example
)
exampleSwitchListAnalyzed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.