View source: R/keep_psites_with_max_in_topX.R
keep_psites_with_max_in_topX | R Documentation |
Compute row maximum each psites, sort row maximum in decreasing order and keep top N (percentage).
keep_psites_with_max_in_topX(phospho_data, percent_of_kept_sites = 3/4)
phospho_data |
A data frame of phospho-data. |
percent_of_kept_sites |
A numeric value representing a cutoff used for filter psites. The default is 3/4. |
A data frame meeting specific cutoff.
Dongdong Zhan and Mengsha Tong
## Not run: ftp_url <- "ftp://111.198.139.72:4000/pub/PhosMap_datasets/function_demo_data/keep_psites_with_max_in_topX.RData" load_data <- load_data_with_ftp(ftp_url, 'RData') writeBin(load_data, "keep_psites_with_max_in_topX.RData") load("keep_psites_with_max_in_topX.RData") phospho_data_topX <- keep_psites_with_max_in_topX(phospho_data, percent_of_kept_sites = 0.9 ) head(phospho_data_topX) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.