moduleSim {epihet}R Documentation

module comparison between two subtypes

Description

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

Usage

moduleSim(module.subtype1, module.subtype2, pdf.height = 10,
  pdf.width = 10, sve = FALSE)

Arguments

module.subtype1

a data frame generated from the epiNetwork() 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 epiNetwork() 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

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)

[Package epihet version 1.9.0 Index]