getDDN: getDDN

Description Usage Arguments Value Examples

View source: R/getDDN.R

Description

This function is used to generate drug drug similarity network.

Usage

1
getDDN(drug.el, r.set, candidates, file = "network.html")

Arguments

drug.el

A edge list of drugs, which is a two-column matrix, each row defines one edge. Numbers in the edge list represent NSC-ID of drugs.

r.set

A set of drugs that you used to prioritize candidates.

candidates

A set of drugs that have been prioritized.

file

file = "network.html"(default). File name and path where to save the HTML web page. Currently only .html formats are supported.

Value

A HTML web page within drug drug similarity network

Examples

1
2
3
4
e <- getData("drug.edgelist")
brc <- getData("breast_cancer")
candidates <- getData("brc_candidates")
getDDN(e, brc, candidates)

PriorCD documentation built on May 2, 2019, 7:28 a.m.