Thank you!
On Thu, Mar 26, 2020 at 5:07 PM Peter Langfelder
wrote:
> Your code does not work because Tag is not numeric. You need to exclude
> Tag from the data frame df and instead assign it as rownames. Also, dist
> requires a numeric matrix, not data frame.
>
> df = as.matrix(data.frame(Healt
Your code does not work because Tag is not numeric. You need to exclude Tag
from the data frame df and instead assign it as rownames. Also, dist
requires a numeric matrix, not data frame.
df = as.matrix(data.frame(Healthy, Tumour, Metastasis))
or
df = cbind(Healthy, Tumour, Metastasis)
rownames(d
2 matches
Mail list logo