View source: R/load_data_with_ftp.R
load_data_with_ftp | 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 ftp://111.198.139.72:4000/pub/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_ftp(ftp_link, data_type)
ftp_link |
A string for URL of datasets. |
data_type |
A string for type of datasets (txt, csv, RData). |
A dataframe
Dongdong Zhan and Mengsha Tong
## Not run: ftp_url <- "ftp://111.198.139.72:4000/pub/PhosMap_datasets/function_demo_data/profiling_exp_design_info.txt" load_data <- load_data_with_ftp(ftp_url, 'txt') head(load_data) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.