normalize_nopair_ctrl_by_col: For data without pairs but with control, normalize them to...

View source: R/normalize_nopair_ctrl_by_col.R

normalize_nopair_ctrl_by_colR Documentation

For data without pairs but with control, normalize them to the control.

Description

For data without pairs but with control, normalize them to the control.

Usage

normalize_nopair_ctrl_by_col(data_frame, experiment_design_file, control_label)

Arguments

data_frame

a data frame as input.

experiment_design_file

a data frame for design of experiment.

control_label

a string for a control.

Value

A data frame after normalization.

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_url <- "ftp://111.198.139.72:4000/pub/PhosMap_datasets/function_demo_data/normalize_nopair_ctrl_by_col.RData"
load_data <- load_data_with_ftp(ftp_url, 'Rdata')
writeBin(load_data, "normalize_nopair_ctrl_by_col.RData")
load("normalize_nopair_ctrl_by_col.RData")

phospho_data_normalize_by_column <- normalize_nopair_ctrl_by_col(
  phospho_data_normalized,
  phosphorylation_experiment_design_file,
  control_label
)
head(phospho_data_normalize_by_column)
}

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