You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I analysis my data with cassiopeia recently. When I used cas.pl.plot_matplotlib(cas_tree, orient='right', allele_table=allele_table,meta_data='Sample',add_root=True) to add tree meta_data information, PlottingError: Meta data item not in CassiopeiaTree cell meta. BUT I check that cas_tree.cell_meta.Sample saved in cas_tree object. ALSO, cas.pl.plot_matplotlib(cas_tree, orient='right', allele_table=allele_table,add_root=True) plotting successfully. I wondered that if there were something I missed when I added meta_data?
The text was updated successfully, but these errors were encountered:
the meta_data format should be a list cas.pl.plot_matplotlib(cas_tree, orient='right', allele_table=allele_table,meta_data=["Sample"],add_root=True)
I make it.
Hi @jinyongfan , thanks for posting this issue and producing a solution. I've also fixed this in #240 so that you can pass in a single string and it will be plotted.
Hi Matt
I analysis my data with cassiopeia recently. When I used cas.pl.plot_matplotlib(cas_tree, orient='right', allele_table=allele_table,meta_data='Sample',add_root=True) to add tree meta_data information, PlottingError: Meta data item not in CassiopeiaTree cell meta. BUT I check that cas_tree.cell_meta.Sample saved in cas_tree object. ALSO, cas.pl.plot_matplotlib(cas_tree, orient='right', allele_table=allele_table,add_root=True) plotting successfully. I wondered that if there were something I missed when I added meta_data?
The text was updated successfully, but these errors were encountered: