Skip to content

Questions about including covariates in the model #48

@xiw588

Description

@xiw588

Hi, I am trying to run multivariable survival analysis using the code but got the error message below. Any idea of why this is happening? Thanks!

surv_GIA<-coxph(Surv(age_diag, diagnosis_status) ~ term+Predicted_Pop+sex+smoking, data =HLA)

surv_GIA_supertype_uncond <- runMiDAS(
object = surv_GIA,
experiment = "hla_supertypes",
inheritance_model = "additive",
lower_frequency_cutoff = 0.05,
upper_frequency_cutoff = 0.98,
correction = "bonferroni",
exponentiate = TRUE
) %>% filter(p.adjusted<0.05)


Warning message:
While evaluating the model problems occured:

• Warnings:
• Using formula(x) is deprecated when x is a character vector of length > 1.
Consider formula(paste(x, collapse = " ")) instead.; occured 33 times, including variables: A01:01, A02:01, A03:01, A24:02, B*18:01, ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions