Closed lincj1994 closed 4 weeks ago
Hi @lincj1994
I think only counts data is supported. The usage of the "data" argument is specified in ?hdp_setdata as: "A data.frame or matrix of counts with one row for every sample (same order as dpindex) and one column for every data category."
Note, I've only made very superficial changes to "hdp" so I'm not really in a position to support it.
Nick
Hi @NickWilliamsSanger.
I would like to confirm if HDP can accept a data frame containing both count data and binary categorical data as input.
Here’s an example of my data:
Sample data:
My dataset consists of over 6,000 samples and 400 genes, structured similarly to the example above. However, after running the following code, the output resulted in only two categories:
Is this behavior expected? Does HDP support this kind of mixed data input, or are there any code errors I should be aware of?
Thank you for your help!