Skip to contents

Perform semantic similarity analysis and reduction of the overrepresented GO terms of an scDiffCom object.

Usage

ReduceGO(
  object,
  method = c("Rel", "Resnik", "Lin", "Jiang", "Wang"),
  threshold = 0.7
)

# S4 method for scDiffCom
ReduceGO(
  object,
  method = c("Rel", "Resnik", "Lin", "Jiang", "Wang"),
  threshold = 0.7
)

Arguments

object

scDiffCom object

method

A distance method supported by rrvgo and GOSemSim: c("Rel", "Resnik", "Lin", "Jiang", "Wang")

threshold

Similarity threshold used by rrvgo::reduceSimMatrix

Value

A data.table of GO terms with their reduction

Details

This function is basically a wrapper around rrvgo::calculateSimMatrix and rrvgo::reduceSimMatrix.