Closed hfuchs5 closed 11 months ago
If your gene binary has mutation columns with no endings, they won't show up if the user gives custom pathways.
Ex:
TP53_mine <- c("ATM.mut", "CHEK2.mut", "MDM2.mut", "MDM4.mut", "TP53.mut", "TP63.mut") gene_binary <- create_gene_binary(samples = samples, mutation = mutations, cna = cna, mut_type = "somatic_only", snp_only = FALSE) %>% select(any_of(c(TP53_mine, "sample_id"))) gene_binary_compare <- create_gene_binary(samples = samples, mutation = mutations, cna = cna, mut_type = "somatic_only", snp_only = FALSE) %>% select(any_of(c("ATM", "CHEK2", "MDM2", "MDM4", "TP53", "TP63", "sample_id")))
See code in function where we work with ".any" endings and adapt.
Double check with newest gnomeR Version.
If your gene binary has mutation columns with no endings, they won't show up if the user gives custom pathways.
Ex:
See code in function where we work with ".any" endings and adapt.