Skip to content
Prev 385654 / 398503 Next

How to reduce the sparseness in a TDM to make a cluster plot readable?

I'm not familiar with these subjects.
And hopefully, someone who is, will offer some better suggestions.

But to get things started, maybe...
(1) What packages are you using (re: tdm)?
(2) Where does the problem happen, in dist, hclust, the plot method
for hclust, or in the package(s) you are using?
(3) Do you think you could produce a small reproducible example,
showing what is wrong, and explaining you would like it to do instead?

Note that if the problem relates to hclust, or the plot method, then
you should be able to produce a much simpler example.
e.g.

    mycount.matrix <- matrix (rpois (25000, 20),, 5)
    head (mycount.matrix, 3)
    tail (mycount.matrix, 3)

    plot (hclust (dist (mycount.matrix) ) )
On Tue, Sep 15, 2020 at 6:54 AM Andrew <phaedrusv at gmail.com> wrote: