I am just trying to create a simple dendrogram in beamer to develop an intuition for heirarchical clustering and I have tried several sites and several tree diagrams but cannot get anything to do what I want it to. This is the first time I have used latex/beamer and I am struggling. I want it to start with a standard deck of 52 cards as one group then split into 2 nodes (black and red), then have each of those nodes split into 2 nodes(by suit: so the red side would split to diamonds and hearts and the black side would split into spades and clubs) then have that node split into face cards and numerical cards, and finally have each card be in its own group.I also want to be able to start with all 52 cards in their own group and then group them until I get to a full deck. Is there a way to do this? (And apparently I can't just post a picture of my hand drawn diagram because my reputation isn't high enough so sorry that this isn't more clear)
I think the MWE I am wondering is how to get my tree diagram in a beamer frame? Does something about the tikzpicture make it so that it cannot go into a frame? Most examples use documents and not frames.