Closed MaestSi closed 2 years ago
Hi @ZhenxingGuo0015 , I think the issue was due to an error in model_treatment variable.
in fact, when changing:
model_treatment <- "~1 + time"
to:
model_treatment <- ~1 + time
the script continued after that point.
I have another question, I'll open another issue for that one.
Thanks,
Simone
Dear Zhenking, I'm running TRESS_DMRfit function from TRESS_1.2.0 to call differential m6A peaks at different time points after a drug treatment, but the command results in errors. This is the command I ran:
with:
and:
I have 3 replicates for each time point in both input and IP, and bam files are provided in the same order as specified in the variable_treatment dataframe. This is the error I got:
The command that is failing is:
When I run it, I find:
In particular, it seems it doesn't like model_treatment or variable_treaments variables:
D = model.matrix(model_treatment, variable_treatment)
I get:Error: $ operator is invalid for atomic vectors
Could you please suggest me if you spot any errors in model_treatment and variable_treatment variables? Thanks in advance, Simone