View source: R/load_data_with_http.R
load_data_with_http | R Documentation |
Some datasets with larger size need to be loaded for mapping ID or protein sequence when using PhosMap. These datasets could be ragarded as library and uploaded to https://github.com/ecnuzdd/PhosMap_datasets in advance. When first perfoming functions depending on these datasets, PhosMap will get them from specific URL and save them into local disk.
load_data_with_http(http_link, data_type)
http_link |
A string for URL of datasets. |
data_type |
A string for type of datasets (txt of csv). |
A dataframe
Dongdong Zhan and Mengsha Tong
## Not run: http_link <- url('https://raw.githubusercontent.com/ecnuzdd/PhosMap_datasets/master/function_demo_data/profiling_exp_design_info.txt') data_type <- 'txt' load_data <- load_data_with_http( http_link, data_type ) head(load_data) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.