make_TDM | R Documentation |
Make text document matrix (TDM) from biotext object.
make_TDM(
ret,
tfidf = FALSE,
normalize = FALSE,
takeMean = FALSE,
takeMax = FALSE,
docsum = FALSE
)
ret |
biotext class |
tfidf |
use TF-IDF |
normalize |
normalize the values to document number |
takeMean |
take the mean value for words to rank |
takeMax |
take the max value for words to rank |
docsum |
count words per doc |
Make TDM based on biotext class using tm.
biotext class object
obtain_refseq("PNKP") |> make_corpus() |> make_TDM()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.