findTerm: findTerm

findTermR Documentation

findTerm

Description

Find queried terms in list of gene clusters and return frequency

Usage

findTerm(
  query,
  listOfGenes,
  split = FALSE,
  ngram = 1,
  tfidf = TRUE,
  calc = "sum",
  keyType = "SYMBOL",
  argList = list()
)

Arguments

query

query words

listOfGenes

named list of genes

split

split the query by space, default to FALSE

ngram

use ngram or not

tfidf

use tfidf when creating TDM or not

calc

"sum", "mean" or "highest"

keyType

key type of listOfGenes

argList

passed to refseq

Details

Find queried terms in list of gene clusters and return frequency

Value

named list of frequency

Examples

query <- "DNA repair"
lg <- list()
lg[["sample"]] <- c("ERCC1","ERCC2")
findTerm(query, lg)


noriakis/wcGeneSummary documentation built on April 22, 2024, 7:12 a.m.