tag_words: tag_words

View source: R/steps.R

tag_wordsR Documentation

tag_words

Description

Tag the words based on pvclust and word matrix.

Usage

tag_words(
  ret,
  cl = FALSE,
  pvclAlpha = 0.95,
  whole = FALSE,
  num_words = 30,
  method = "correlation"
)

Arguments

ret

biotext class object

cl

cluster for parallel computing

pvclAlpha

alpha value for 'pvpick'

whole

perform clustering on whole matrix (take time)

num_words

if set, subset to this number of words

method

method.dist argument in pvclust

Details

Identify important word clusters with statistical significance using 'pvclust'.

Value

biotext class object

Examples

obtain_refseq(c("IRF3","PNKP")) |> 
make_corpus() |> make_TDM() |> tag_words()

noriakis/wcGeneSummary documentation built on May 31, 2024, 4:42 p.m.