Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

degCovariates ERROR #32

Open
algilm opened this issue Apr 17, 2020 · 1 comment
Open

degCovariates ERROR #32

algilm opened this issue Apr 17, 2020 · 1 comment

Comments

@algilm
Copy link

algilm commented Apr 17, 2020

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!

@lpantano
Copy link
Owner

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants