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

Bug in aldex.clr when using glm model matrix #10

Closed
orcuttlab opened this issue Jun 18, 2019 · 2 comments
Closed

Bug in aldex.clr when using glm model matrix #10

orcuttlab opened this issue Jun 18, 2019 · 2 comments

Comments

@orcuttlab
Copy link

Greetings - I am trying to use a glm for a 2 factor experimental design and I am getting the error:

Error in coerce.data(reads, conds) :
mismatch between number of samples and condition vector

I also get this error when I use the example data provided in the vignette:

selex.sub <- selex[1:400,]

covariates <- data.frame("A" = sample(0:1, 14, replace = TRUE),

  •                      "B" = c(rep(0, 7), rep(1, 7)))
    

mm <- model.matrix(~ A + B, covariates)
x <- aldex.clr(selex.sub, mm, mc.samples=8, denom="all")
Error in coerce.data(reads, conds) :
mismatch between number of samples and condition vector

I have thoroughly looked over my data and they have the same amount and samples and the same sample names.

Thank you

@kevinVervier
Copy link

Same here. I could not run aldex.clr with a model.matrix object.

@ggloor
Copy link
Owner

ggloor commented Aug 1, 2019

This has been fixed in the ALDEx_bioc repository. Download and install the version in the dev branch and it should work.

@ggloor ggloor closed this as completed Aug 1, 2019
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

3 participants