BnpC icon indicating copy to clipboard operation
BnpC copied to clipboard

heatmap genoCluster_posterior_mean.png lost tracks of original mutation and cell ID?

Open jeffchen2000 opened this issue 2 years ago • 3 comments

Hi BnpC support genoCluster_posterior_mean.png are only show sequential numbers on x-axis and y-axis, how can I track back to original cell ID and mutation ID? or in other words, are the sequential numbers the orders of original mutation and cell input? Thanks Xianfeng Chen

jeffchen2000 avatar Oct 18 '22 22:10 jeffchen2000

Dear Xianfeng Chen,

Yes, if your input data does not contain an index row and/or header column, rows and columns are labeled 1, 2, ..., n.

For more meaningful labels, try adding an index row/header column to the input data, it should be used automatically for labeling.

Hope that helps

NBMueller avatar Oct 19 '22 06:10 NBMueller

Thanks for the quick response!

it worked when I used the input format like below (tab delimited), it seems BnpC can auto-detect the column/row names

ID cell1 cell2 cell3 mutation1 0 1 3 mutation2 1 1 0 mutation3 0 0 1

jeffchen2000 avatar Oct 19 '22 15:10 jeffchen2000

Hi Nico,

This doesnt really work. I tried with Cell ID and row IDs and the heatmap indeed shows the same labels in the same order as the input. But the rows in the heatmaps are shuffled and it does not reflect the correct row IDs. The Rows IDs stays same as the input given. Do you happen to have a solution for this?

monicaSudarsanam avatar Nov 03 '22 11:11 monicaSudarsanam