CombineGeneSets: CombineGeneSets

View source: R/CombineGeneSets.R

CombineGeneSetsR Documentation

CombineGeneSets

Description

Calculate distances between the different experiments.

Usage

CombineGeneSets(Object, combineMethod = "Standard",
  combineMethod.supplied, display = "Condensed")

Arguments

Object

A PathwayObject.

combineMethod

lets the functions know if the standard RR, a Jaccard index or Cohens Kappa.

combineMethod.supplied

a function which parameter A and parameter B.

display

Either Condensed or Expanded. Expanded seperates the groups and adds a 1 to every group is this molecular signature is seen here

Value

a pathwayobject

Examples

Great.files <- c(system.file("extdata", "MM10.GREAT.KO.uGvsMac.bed.tsv",
                             package = "GeneSetCluster"),
system.file("extdata", "MM10.GREAT.KO.uGvsMac.bed_BCKGRND.tsv", package = "GeneSetCluster"),
system.file("extdata", "MM10.GREAT.WT.uGvsMac.bed.tsv", package = "GeneSetCluster"),
system.file("extdata", "MM10.GREAT.WT.uGvsMac.bed_BCKGRND.tsv", package = "GeneSetCluster"))
Great.files.bckgrnd <- Great.files[grepl("BCKGRND", Great.files)]


Great.bckgnrd.Object1 <- LoadGeneSets(file_location = Great.files.bckgrnd,
                                      groupnames= c("KO", "WT"),
                                      P.cutoff = 0.05,
                                      Mol.cutoff = 5,
                                      Source = "Great",
                                      Great.Background = TRUE,
                                      type = "Canonical_Pathways",
                                    topranks = 20,
                                   structure = "SYMBOL",
                                   Organism = "org.Mm.eg.db",
                                   seperator = ",")
man.Great.Object1 <- ManageGeneSets(Object = Great.bckgnrd.Object1,
                                   keep.type =c("Disease Ontology",
                                   "GO Biological Process" ),
                                   exclude.type="")
man.Great.Object2 <- CombineGeneSets(Object = man.Great.Object1)


TranslationalBioinformaticsUnit/GeneSetCluster documentation built on Feb. 2, 2023, 4:06 a.m.