View source: R/get_normalized_data_FOT5.R
| get_normalized_data_FOT5 | R Documentation |
Normailization on basis of sum
get_normalized_data_FOT5(data_frame, experiment_code_file_path)
data_frame |
A data frame containing IDs and values merged from multi-experiments as input. |
experiment_code_file_path |
A file path of storing experiment codes as input. The experiment codes are required to keep pace with column names of Values. |
A data frame after normalization
Dongdong Zhan and Mengsha Tong
## The process needs to load data from PhosMap datasets stored into FTP server and perform large computation.
## It may take a few minutes.
if(FALSE){
ftp_url1 <- "ftp://111.198.139.72:4000/pub/PhosMap_datasets/function_demo_data/get_normalized_data_FOT5.RData"
ftp_url2 <- "ftp://111.198.139.72:4000/pub/PhosMap_datasets/function_demo_data/profiling_exp_design_info.txt"
load_data1 <- load_data_with_ftp(ftp_url1, 'Rdata')
writeBin(load_data1, "get_normalized_data_FOT5.RData")
load("get_normalized_data_FOT5.RData")
load_data2 <- load_data_with_ftp(ftp_url2, 'downloadtxt')
writeBin(load_data2, "profiling_exp_design_info.txt")
profiling_exp_design_info_file_path <- "./profiling_exp_design_info.txt"
profiling_data_normalized <- get_normalized_data_FOT5(profiling_data,
profiling_exp_design_info_file_path
)
head(profiling_data_normalized)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.