extr_biodescr,BasicData-method | R Documentation |
Extract Biological descriptor
## S4 method for signature 'BasicData' extr_biodescr( BasicData, geneset = c("kegg", "mkegg", "go", "wp"), arguments = list(minGSSize = 5, maxGSSize = 500, pvalue = 0.05, qvalue = 0.1), ref_type = "drug", ref = NULL, to_ENTREZID = TRUE )
BasicData |
BasicData object. |
geneset |
Charactor vector, one of "kegg"(KEGG), "mkegg"(KEGG Module), "go"(GO-BP), and "wp"(WikiPathways); a data frame and list. |
arguments |
A list of the arguments of |
ref_type |
Charactor vector, one of "drug", "herb", "compound" or "target", defaults to "drug". |
ref |
Charactor vector, reference drug, herb, compound or target, defaults to |
to_ENTREZID |
Logical, whether to translate to ENTREZID from SYMBOL, defaults to TRUE. |
A BioDescr object.
## Not run: data(drugdemo) drug_herb <- PrepareData(drugdemo$drug_herb, from = "drug", to="herb") herb_compound <- PrepareData(drugdemo$herb_compound, from = "herb", to="compound") compound_target <- PrepareData(drugdemo$compound_target, from = "compound", to="target") disease <- PrepareData(drugdemo$disease, diseaseID = "disease",from = "target", to="target") BasicData <- CreateBasicData(drug_herb, herb_compound, compound_target, diseasenet = disease) biodescr <- extr_biodescr(BasicData, geneset= "kegg") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.