get_normalized_data_FOT5: Normailization on basis of sum

View source: R/get_normalized_data_FOT5.R

get_normalized_data_FOT5R Documentation

Normailization on basis of sum

Description

Normailization on basis of sum

Usage

get_normalized_data_FOT5(data_frame, experiment_code_file_path)

Arguments

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.

Value

A data frame after normalization

Author(s)

Dongdong Zhan and Mengsha Tong

Examples

## 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)

}

ecnuzdd/PhosMap documentation built on Dec. 7, 2022, 4:09 a.m.