set_filter_words: set_filter_words

View source: R/steps.R

set_filter_wordsR Documentation

set_filter_words

Description

Set filtering words to class.

Usage

set_filter_words(
  ret,
  exclude_by = "frequency",
  exclude_type = ">",
  exclude = "GS",
  exclude_number = 2000,
  filterMax = FALSE,
  additional_remove = NULL,
  pre = TRUE,
  pre_microbe = FALSE
)

Arguments

ret

biotext object

exclude_by

'frequency' or 'tfidf'

exclude_type

">" or "<"

exclude

GS for using GeneSummary,

exclude_number

threshold to exclude

filterMax

filter based on pre-computed maximum values for each word

additional_remove

your customized words to remove

pre

remove pre-defined words

pre_microbe

remove pre-defined words for microbes

Details

Set filtering words to class. If filtered words are already present, add the specified words to them.

Value

biotext class object

Examples

obtain_refseq(c("PNKP")) |> set_filter_words()

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