Description Usage Arguments Details Value
Returns a tf-idf sparse matrix given a condition-gene matrix. This matrix is a DxT matrix, where D is the set of conditions (disease indications) T are the genes affecting that condition. To correct effect/prevalence of genes in a given condition or to correct conditions affected by many genes, we compute the tf-idf matrix twice, to get the combined tf-idf:
1 | ctfidf(data_matrix)
|
data_matrix |
Sparse document-term matrix (condition by gene matrix), named (rows and columns) |
ctfidf = tfidf(dtm) \times t(tfidf(dtm))
A sparse matrix with the computed combined tf-idf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.