Browse Source

Corregir bug cuando no hay uno de los aminoacidos los codones daban NaN.

main
Marcel 1 week ago
parent
commit
cb31cf7ec6
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ONATRY-CIT/app.R

+ 1
- 0
ONATRY-CIT/app.R

@ -84,6 +84,7 @@ server <- function(input, output) {
merge(list2data(CodRef, "AA","codon")) %>% merge(list2data(CodRef, "AA","codon")) %>%
group_by(AA) %>% group_by(AA) %>%
mutate(across(all_of(names(txtQuery)), function(x) x=x/sum(x))) %>% mutate(across(all_of(names(txtQuery)), function(x) x=x/sum(x))) %>%
mutate(across(all_of(names(txtQuery)), ~ case_when(is.na(.) ~ 0, T~.) )) %>%
ungroup() ungroup()
pca_ref<-read.table("../Scripts/pca_HAdV5_EGFP_MONO_EMM_BH_VCN_APIS_MOD_PDT_ADAPT_Tox.txt",sep="\t", dec = ",", header = T) pca_ref<-read.table("../Scripts/pca_HAdV5_EGFP_MONO_EMM_BH_VCN_APIS_MOD_PDT_ADAPT_Tox.txt",sep="\t", dec = ",", header = T)

Loading…
Cancel
Save