Hi,
after all the step of DEXSeq I wanted to save my results in a tsv, csv, ... but nothing helped me I also followed the other similar questions related to this issue but nothing helped. May you please kindly help how to save the results
results <- DEXSeqResults(dx)
> class(results)
[1] "DEXSeqResults"
attr(,"package")
[1] "DEXSeq"
> write.table(results, "dexseq.tsv", sep="\t", quote=F, row.names=F)
Error in write.table(results, "dexseq.tsv", sep = "\t", quote = F, row.names = F) :
unimplemented type 'list' in 'EncodeElement'
then I converted to dataframe, but still can't save the results:
df_results <- as.data.frame(results)
> write.table(df_results , "dexseq.tsv", sep="\t", quote=F, row.names=F)
Error in write.table(df_results, "dexseq.tsv", sep = "\t", quote = F, :
unimplemented type 'list' in 'EncodeElement'
Then just tried to get the significant ones, but still, I can't save it:
dxr1.sig <- as.data.frame(results[results$padj < 0.1 & !is.na(results$padj),])
> write.table(dxr1.sig, "Results.tsv", quote=FALSE, sep="\t", dec=".")
Error in write.table(dxr1.sig, "Results.tsv", quote = FALSE, sep = "\t", :
unimplemented type 'list' in 'EncodeElement'
Looking forward for solutions. Many thanks!