knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
Since December 2019, Wuhan City, Hubei Province has continued to carry out surveillance of influenza and related diseases, and found multiple cases of viral pneumonia, all of which were diagnosed with viral pneumonia / pulmonary infection. On January 12, 2020, the World Health Organization officially named the new coronavirus causing the pneumonia epidemic in Wuhan as "2019 New Coronavirus (2019-nCoV)". The current epidemic situation is very serious, here we developed an R package for 2019-nCoV analysis(Real-time monitoring and Visualization).
Load package.
library(R2019nCoV)
We start with creating a R2019-nCoV object, so we can check real-time monitoring numbers of the 2019-nCoV virus. Plus, you need to keep your device online.
x <- get_2019nCoV()
Then we can get the data.frame of detailed statistical numbers of every provinces of China.
df <- getDataFrame(x)
Visualization the real-time monitoring map of the 2019-nCoV virus.
map <- getMap(x) map
Plus, you can get the gene sequence of 2019-nCoV virus from GenBank.
Seq <- getSeq()
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.