DEGreport icon indicating copy to clipboard operation
DEGreport copied to clipboard

degCovariates ERROR

Open algilm opened this issue 4 years ago • 1 comments

Hi! I am following the workflow to use degCovariates() with a DESeqDataSet object and, when I write:

degCovariates(counts = counts(dds), metadata = as.data.frame(colData(dds)), 
                     fdr = 0.1, scale = FALSE, minPC = 5,
                     correlation = "kendall", addCovDen = TRUE, legacy = TRUE,
                     smart = TRUE, method = "lm", plot = TRUE)

I obtained this error:

running pca and calculating correlations for:
un-scaled  data in pca;
pve >= 5%;
kendall cor 
Error in is.data.frame(x) : 
  (list) object cannot be coerced to type 'double'

Any ideas what could have gone wrong? Thank you very much in advance!

algilm avatar Apr 17 '20 13:04 algilm

Hi,

sorry about that. Can you save your objects in an R file and send it to me? I can take a look at what is happening.

cheers!

lpantano avatar Apr 19 '20 16:04 lpantano