View source: R/get_ka_by_mean_or_mlr.R
get_ka_by_mean_or_mlr | R Documentation |
Computing kinase activity using mean value and multiple linear regression (ridge regression) except KSEA
get_ka_by_mean_or_mlr( ptypes_data, species = "human", log2_label = FALSE, method = "mean" )
ptypes_data |
A data frame of phosphorylation data after normalization. |
species |
A string representing the species of imported data, the options are human, mouse and rat. |
log2_label |
A boolean value representing whether data is logarithmetics, the default is FALSE. |
method |
A string for the method to compute kinase activity, the options are 'mean' and 'mlr' (multiple linear regression), the default is mean. |
A data frame that consists of kinase, psite, substrate, counting byond ratio_cutoff and corresponding original value.
Dongdong Zhan and Mengsha Tong
## Not run: ftp_url <- "ftp://111.198.139.72:4000/pub/PhosMap_datasets/function_demo_data/get_ka_by_mean_or_mlr.RData" load_data <- load_data_with_ftp(ftp_url, 'RData') writeBin(load_data, "get_ka_by_mean_or_mlr.RData") load("get_ka_by_mean_or_mlr.RData") kinase_activity_df <- get_ka_by_mean_or_mlr( cluster_df, species = 'human', log2_label = TRUE, method = 'mean' ) head(kinase_activity_df) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.