Hello everyone,
I am currently working on an RNA-Seq data analysis. I am using Salmon + Fishpond/Swish. I have performed DE analysis at gene and transcript level. Now, I want to check if there is an interaction effect between the two variables of the project, but I get an error in my script. To give you some context, I have two variables (genotype and diet), which makes 4 experimental conditions appear. They are a total of 15 samples. They are not paired samples. Regarding the code, this is the part of my script to see the interaction:
y_g <- scaleInfReps(y_g)
y_g <- labelKeep(y_g)
set.seed(1)
y_g<-swish(y_g, x ="genotype", cov = "diet", interaction = TRUE)
Once I run it, the following error appears:
Error in infRepsArray[, cond2, ] : subscript out of bounds
sessionInfo( )
Could someone help me? If you need any extra information, please, tell me.
Thank you in advance!
Yes, thanks for posting and this bug is now fixed on GitHub.
This is also now pushed to Bioc as version 2.6.1 (release) and 2.7.1 (devel), should be available in 24 hours.
Hi, Michael Love:
I have run and tested version 2.6.1. For my particular situation described above, the error was completely fixed. However, when I run a test with 14 samples (one sample less and distributed differently in the groups), the following error appears:
Previously, when the script ran perfectly, the distribution of the 15 samples across the groups was:
Then, when the script crashed, the distribution of the 14 samples was:
PS: I ran in both situations the code indicated in the first entry of the post. Also, in both situations, the reference levels of genotype and diet are A and CT, respectively.
Hope you can help me. If you need any extra info, please, tell me. Thank you!
I'll take a look now.
Thanks for noting this.
This should be fixed in versions *.2, and you can check with:
install_github("mikelove/fishpond")
It works perfectly. Thank you so much.
Thank you both.