Learn R Programming

PriorCD (version 0.1.0)

getDDN: getDDN

Description

This function is used to generate drug drug similarity network.

Usage

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

Run this code
# NOT RUN {
e <- getData("drug.edgelist")
brc <- getData("breast_cancer")
candidates <- getData("brc_candidates")
getDDN(e, brc, candidates)
# }

Run the code above in your browser using DataLab