modulesim: module comparison between two subtypes.

Description Usage Arguments Value Examples

Description

Compare any two modules from two subytpes based on genes shared by the modules.

Usage

1
2
modulesim(module.subtype1, module.subtype2, pdf.height = 10, pdf.width = 10,
  sve = FALSE)

Arguments

module.subtype1

a data frame generated from the network.construct() function the module information of subtype1,the first column is module nodes,the second column is module label, the third column is module color.

module.subtype2

a data frame generated from the network.construct() function. The module information of subtype1, the first column is module nodes, the second column is module label, the third column is module color.

pdf.height

An integer representing the height (in inches) of the outputted boxplot pdf file (default: 10)

pdf.width

An integer representing the width (in inches) of the outputted boxplot pdf file (default: 10)

sve

A boolean to save the plot (default: FALSE)

Value

a matrix containing Jaccard scores

Examples

1
2
3
4
5
6
data(modulesil,package = "epihet")
data(moduledm,package = "epihet")
sim.score=epihet::modulesim(module.subtype1=modulesil,
                            module.subtype2=moduledm,
                            pdf.height = 10,pdf.width = 10,
                            sve = TRUE)

xiaowenchenjax/epihet documentation built on May 5, 2019, 9:20 a.m.