Dear Kristoffer,
I am using IsoformSwitchAnalyzeR and imported wheat RNASeqanalysis output from a diff_out folder.
I executed the following commands:
library(IsoformSwitchAnalyzeR)
#update.packages("IsoformSwitchAnalyzeR")
#packageVersion('IsoformSwitchAnalyzeR')
testSwitchList <- importCufflinksFiles(
pathToGTF = 'D:/wheat/SRP043554-cold/merged_asm/merged.gtf',
pathToGeneDEanalysis = 'D:/wheat/SRP043554-cold/diff_out/gene_exp.diff',
pathToIsoformDEanalysis = 'D:/wheat/SRP043554-cold/diff_out/isoform_exp.diff',
pathToGeneFPKMtracking = 'D:/wheat/SRP043554-cold/diff_out/genes.fpkm_tracking',
pathToIsoformFPKMtracking = 'D:/wheat/SRP043554-cold/diff_out/isoforms.fpkm_tracking',
pathToIsoformReadGroupTracking = 'D:/wheat/SRP043554-cold/diff_out/isoforms.read_group_tracking',
pathToReadGroups = 'D:/wheat/SRP043554-cold/diff_out/
read_groups.info',
pathToRunInfo = 'D:/wheat/SRP043554-cold/diff_out/
run.info',
pathToSplicingAnalysis = 'D:/wheat/SRP043554-cold/diff_out/splicing.diff',
fixCufflinksAnnotationProblem = T,
quiet = F
)
testSwitchList
names(testSwitchList)
head(testSwitchList,2)
head(testSwitchList$conditions,2)
exampleSwitchListFiltered <- preFilter(
switchAnalyzeRlist = testSwitchList,
geneExpressionCutoff = 1,
isoformExpressionCutoff = 0,
removeSingleIsoformGenes = TRUE
)
exampleSwitchListAnalyzed <- isoformSwitchTestDEXSeq(
switchAnalyzeRlist = testSwitchList,
reduceToSwitchingGenes=TRUE
)
extractSwitchSummary(exampleSwitchListAnalyzed)
exampleSwitchListAnalyzed <- analyzeORF(
exampleSwitchListAnalyzed,
orfMethod = "longest",
# genomeObject = Hsapiens, #
not necessary since sequences are already stored in the switchAnalyzeRlist showProgress=FALSE
)
but encounter an error saying:
Error in analyzeORF(exampleSwitchListAnalyzed, orfMethod = "longest", :
The genomeObject argument must be a BSgenome.
I greatly appreciate it if you kindly let me know
how I can store the said required sequences in the switchAnalyzeRlist?
With best regards,
Ghader