anal_KinSub | R Documentation |
anal_KinSub
adds the data of PSP
kinase-substrate interactions to peptide or protein results.
anal_KinSub(
db_nms = "~/proteoQ/dbs/psp/Kinase_Substrate_Dataset.txt",
type = c("peptide", "protein"),
match_orgs = TRUE,
scale_log2r = TRUE,
complete_cases = FALSE,
impute_na = FALSE,
df = NULL,
filepath = NULL,
filename = NULL,
...
)
db_nms |
Character string(s) to the name(s) of PSP database(s) with
prepended directory path(s). Users need to download the kinase-substrate
table, e.g. |
type |
The type of data for annotation. The default is |
match_orgs |
Logical; if TRUE, matches the organism between kinases and their acting substrates. The default is TRUE. |
scale_log2r |
Not currently used. Values before and after scaling will be both reported. |
complete_cases |
Logical; if TRUE, only cases that are complete with no missing values will be used. The default is FALSE. |
impute_na |
Logical; if TRUE, data with the imputation of missing values will be used. The default is FALSE. |
df |
The name of a primary data file. By default, it will be determined
automatically after matching the types of data and analysis with an
|
filepath |
Use system default. |
filename |
The name of a output file. |
... |
|
OUtputs under folder KinSub
.
# ===================================
# PhosphoSitePlus (PSP)
# ===================================
## !!!require the brief working example in `?load_expts`
library(proteoQ)
# expression data for kinases and their substrates
# (need to first download the ".txt" from PSP)
anal_KinSub("~/proteoQ/dbs/psp/Kinase_Substrate_Dataset.txt")
# `human` only ('unknown' species will be removed)
anal_KinSub(
filter_by_sp = exprs(species == "human"),
filter_prots_by = exprs(prot_n_pep >= 2),
filename = human_2peps.txt,
)
# proteins
anal_KinSub(type = protein)
## Not run:
# peptides: CDK1 substrates
anal_KinSub(
filter_by_gene = exprs(species == "human", gene == "CDK1"),
filename = hu_CDK1.txt,
)
# proteins: CDK1 substrates
anal_KinSub(
type = protein,
filter_by_gene = exprs(species == "human", gene == "CDK1"),
filename = hu_CDK1.txt,
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.