> ggplot(hClust, aes(A, B)) +
+ geom_point()
Error in `fortify()`:
! `data` must be a data frame, or other object coercible by `fortify()`, not an S3 object with class hclust.
Run `rlang::last_error()` to see where the error occurred.
The structure of hClust is weird as it isn't a dataframe but a list. The first object in the list is a matrix.
https://github.com/casbap/ncRNA/blob/c5533e06dd70bac608dba7eb0f75598098e0e0e4/HumanDataPrep.Rmd#L196
The structure of hClust is weird as it isn't a dataframe but a list. The first object in the list is a matrix.
I will skip it for now but it might cause downstream issues