Closed violetzh closed 6 years ago
That's a strange one, would you happen to have an example of the aftv212_child_parent_class_tree_fixes.tsv
file?
The tsv file was sent via email. Thanks!
I don't think I got that email, could you send it to AdeelK@gwu.edu? Thanks
At first I thought this might have been some collision with a data.tree reserved word, but that doesn't appear to be the case. It looks like your use of the column name "description" is causing some issue with the json mappings in htmlwidgets, though I'm not totally sure why, though this error appears to afflict other htmlwidgets in some cases.
Fortunately, it should be an easy fix! Would you be alright with replacing "description" with "Description" in your last two lines of code?
Yes. That does fix the error! Thanks!
From: Adeel Khan [mailto:notifications@github.com] Sent: Sunday, January 14, 2018 5:48 PM To: AdeelK93/collapsibleTree collapsibleTree@noreply.github.com Cc: Violet Zhang violet.v.zhang@gsk.com; State change state_change@noreply.github.com Subject: Re: [AdeelK93/collapsibleTree] Error in unclass(x) : cannot unclass an environment (#24)
EXTERNAL
At first I thought this might have been some collision with a data.tree reserved word, but that doesn't appear to be the case. It looks like your use of the column name "description" is causing some issue with the json mappings in htmlwidgets, though I'm not totally sure why, though this error appears to afflict other htmlwidgets in some cases.
Fortunately, it should be an easy fix! Would you be alright with replacing "description" with "Description" in your last two lines of code?
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/AdeelK93/collapsibleTree/issues/24#issuecomment-357549380, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AevKbNLb_dqWS9keh3QCgqjOsUdUO2ZIks5tKoQ9gaJpZM4RaLd5.
GSK monitors email communications sent to and from GSK in order to protect GSK, our employees, customers, suppliers and business partners, from cyber threats and loss of GSK Information. GSK monitoring is conducted with appropriate confidentiality controls and in accordance with local laws and after appropriate consultation.
Hi AdeelK93!
First, this is a great package and very useful to visualize hierarchical data.
I have run into an issue when trying to generate a collapsible tree using the method collapsibleTreeNetwork, with strings (some quite long) as the attribute for each node. The error is: Error in unclass(x) : cannot unclass an environment If no attribute is assigned, then the tree will render with no error. Google tells me this could be a layout issue, but I am not exactly sure what it means. Would it be possible to provide some insights how to fix this?
The network data frame has 634 unique nodes. Here is my script:
Thanks! Violet