moduleSim: module comparison between two subtypes

Description Usage Arguments Value Examples

View source: R/moduleSim.R

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 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

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)

epihet documentation built on Dec. 31, 2020, 2:01 a.m.