addGESSannot | R Documentation |
This function supports adding customized compound annotation table to the
GESS result table if provided. It then automatically adds the target gene
symbols, MOAs and PubChem CID columns (t_gn_sym
, MOAss
,
PCIDss
) if the table contains a column that stores compound names.
addGESSannot(
gess_tb,
refdb,
cmp_annot_tb = NULL,
by = "pert",
cmp_name_col = "pert"
)
gess_tb |
tibble or data.frame object of GESS result,
can be accessed by the |
refdb |
character(1), reference database that can be accessed by
the |
cmp_annot_tb |
data.frame or tibble of compound annotation table.
This table contains annotation information for compounds stored under
|
by |
character(1), column name in |
cmp_name_col |
character(1), column name in |
tibble of gess_tb
with target, MOA, PubChem CID annotations
and also merged with user provided compound annotation table.
gess_tb <- data.frame(pert=c("vorinostat", "sirolimus", "estradiol"),
cell=c("SKB", "SKB", "MCF7"),
NCS=runif(3))
cmp_annot_tb <- data.frame(pert_name=c("vorinostat", "sirolimus", "estradiol"),
prop1=c("a", "b", "c"),
prop2=1:3)
addGESSannot(gess_tb, "custom", cmp_annot_tb, by="pert_name",
cmp_name_col="pert")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.