Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/high_level_functions.R
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | isoformSwitchAnalysisCombined(
switchAnalyzeRlist,
alpha=0.05,
dIFcutoff = 0.1,
switchTestMethod='DEXSeq',
n=NA,
pathToOutput=getwd(),
overwriteORF=FALSE,
outputSequences=FALSE,
genomeObject,
orfMethod='longest',
cds=NULL,
consequencesToAnalyze=c('intron_retention','ORF_seq_similarity','NMD_status'),
fileType='pdf',
asFractionTotal=FALSE,
outputPlots=TRUE,
quiet=FALSE
)
|
switchAnalyzeRlist |
A |
alpha |
The cutoff which the FDR correct p-values must be smaller than for calling significant switches. Default is 0.05. |
dIFcutoff |
The cutoff which the changes in (absolute) isoform usage must be larger than before an isoform is considered switching. This cutoff can remove cases where isoforms with (very) low dIF values are deemed significant and thereby included in the downstream analysis. This cutoff is analogous to having a cutoff on log2 fold change in a normal differential expression analysis of genes to ensure the genes have a certain effect size. Default is 0.1 (10%). |
switchTestMethod |
A sting indicating which statistical method should be used for testing differential isoform usage. The following options are available:
|
n |
The number of top genes (after filtering and sorted according to |
pathToOutput |
A path to the folder in which the plots should be made. Default is working directory ( getwd() ). |
overwriteORF |
A logical indicating whether to overwrite the ORF analysis already stored in the supplied switchAnalyzeRlist. Default is FALSE. |
outputSequences |
A logic indicating whether transcript nucleotide and amino acid sequences should be save in the |
genomeObject |
A |
orfMethod |
A string indicating which of the 3 ORF identification methods should be used. The methods are:
Default is |
cds |
A CDSSet object containing annotated coding regions, see ?CDSSet and ?getCDS for more information. Only necessary if \'orfType\' arguments is \'longestAnnotated\' or \'mostUpstreamAnnoated\'. |
consequencesToAnalyze |
A vector of strings indicating what type of functional consequences to analyze. Note 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','ORF_seq_similarity','NMD_status') (corresponding to analyze: intron retention, ORF AA sequence similarity and NMD status). |
fileType |
A string indicating which file type is generated. Available options are \'pdf\' and \'png\'. Default is pdf. |
asFractionTotal |
A logic indicating whether the number of consequences should be calculated as numbers (if FALSE) or as a fraction of the total number of switches in the plot summarizing general consequences of all the isoform switches. Default is FALSE. |
outputPlots |
A logic indicating whether all isoform switches as well as the summary of functional consequences should be outputted 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
isoformSwitchTestDRIMSeq
analyzeORF
extractSwitchSummary
analyzeSwitchConsequences
switchPlotTopSwitches
1 2 3 4 5 6 7 8 9 10 11 12 13 | data("exampleSwitchList")
exampleSwitchList
library(BSgenome.Hsapiens.UCSC.hg19)
exampleSwitchListAnalyzed <- isoformSwitchAnalysisCombined(
switchAnalyzeRlist=exampleSwitchList,
genomeObject = Hsapiens,
dIFcutoff = 0.4, # Set high for short runtime in example data
outputSequences = FALSE, # keeps the function from outputting the fasta files from this example
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.