Entering edit mode
I am trying to plot PCA, but getting error:
>dds <- DESeqDataSetFromMatrix(countData=rawCounts_total,
colData=mapping_file,
design=~Sample_Type, tidy = TRUE)
>dds <- DESeq(dds, parallel = T)
>rld <- vst(dds, fitType='mean', blind=TRUE)
>DESeq2::plotPCA(rld, intgroup=c("Sample_Type"))
Error in .local(object, ...) : unused argument (intgroup = "Sample_Type")
> plotPCA(rld, intgroup=colnames(colData(rld))[4])
Error in .local(object, ...) : unused argument (intgroup = "Sample_Type")
Any suggestions?
If I work on a new R, then above commands worked, but I still donĀ“t understand, why it was not working on my previous Rprofile. Here is the sessionInfo:
It sounds like another package may have done something... not sure though.
For PCA plot, can we do ANOVA on a group, let's say, if we find any cluster, but want to check whether it's significant or not?
We don't have any tests for differences in the reduced dimensional space after using the data also to perform clustering. Single cell methods may help you here. Daniella Witten has worked on this recently