extrFP: extrFP

Description Usage Arguments Value Author(s) Examples

Description

Calculate the pathway fingerprints

Usage

1
2
3
4
5
6
extrFP(drug_target, disease_biomarker, method = "enrich")

## S4 method for signature 'BasicData'
extrFP(drug_target, disease_biomarker, method = "enrich")

extrFP.BasicData(drug_target, disease_biomarker, method = "enrich")

Arguments

drug_target

A data frame or list of drug target.

disease_biomarker

A character of disease biomarkers or an order ranked geneList.

method

one of "enrich" and "gsea"

Value

ScoreFP object

ScoreFP object

Author(s)

Yuanlong Hu

Examples

1
2
3
4
5
6
7
8
9
  data("drugSample")
  drug_herb <- PrepareData(drugSample$drug_herb, col1 = "drug", col2 = "herb")
  herb_target <- PrepareData(drugSample$herb_target,
                             col1 = "herb", col2 = "target",
                             format = "basket", sep = ", ")
  drug_target <- CreateBasicData(drug_herb, herb_target)
  FP <- extrFP(drug_target = drug_target,
               disease_biomarker = drugSample$disease_biomarker,
               method = "enrich")

immcp documentation built on Nov. 14, 2020, 5:09 p.m.