Hi,
I'm having trouble running ChromDiff with correction for confounding factors (it runs fine if I leave this out). I only have one covariate I would like to correct for, which is gender (column "gender" in file describing epigenome unique IDs and metadata).
The error I get when running ChromDiff is:
Error in `[.default`(fixed.cov.mat, colnames(mat), ) :
incorrect number of dimensions
Calls: comp.groups -> get_residuals -> [ -> [.factor -> NextMethod
Execution halted
I've tried to format gender as two separate columns in the covariate matrix (as in the example files: FEMALE and MALE), and as one (GENDER), but both give me the same error.
My covariate matrix looks like this:
GENDER
776 MALE
786 MALE
812 FEMALE
830 MALE
932 FEMALE
HV2 FEMALE
HV3 FEMALE
HV4 FEMALE
and my covariate mapping matrix looks like this:
I don't know why the software thinks this number of dimensions is not right. Can anyone help?
Thank you,
Hasse
Hi,
I'm having trouble running ChromDiff with correction for confounding factors (it runs fine if I leave this out). I only have one covariate I would like to correct for, which is gender (column "gender" in file describing epigenome unique IDs and metadata).
The error I get when running ChromDiff is:
I've tried to format gender as two separate columns in the covariate matrix (as in the example files: FEMALE and MALE), and as one (GENDER), but both give me the same error.
My covariate matrix looks like this:
and my covariate mapping matrix looks like this:
I don't know why the software thinks this number of dimensions is not right. Can anyone help?
Thank you,
Hasse