pdxgx / covid19

covid19 exploration
MIT License
9 stars 4 forks source link

Error running HLA_frequencies.R #1

Open koujiaodahan opened 4 years ago

koujiaodahan commented 4 years ago

Hi: When i run the HLA_frequencies.R to get Geographic maps of HLA data ,there are different errors before and after two runs. Can you give some advice? [error1:] Error in code line: hla.iso3 <- rbind(hla.iso3, data.frame(ISO3=ISO3, HLA=HLA, freq=weighted.mean(as.numeric(hla.data[,1]), w=as.numeric(hla.data[,2])), popsize=popsize))

error:arguments imply differing number of rows:1,0

image

[error2:] I often get stuck in [1] "HLA-A (page *)" which seems beacause of target unstable network image

Looking foward to your reply,thanks!

Boeinco commented 4 years ago

Regarding error 2, I'm unable to replicate that problem. Could you try rerunning to see if you have the same issue and document w/ internet access? That's all I can think of atm.

Boeinco commented 4 years ago

Could you let me know what the value of ISO3 is when the error occurs? Thanks