cbail / textnets

R package to perform automated text analysis using network techniques
MIT License
210 stars 62 forks source link

Enable creation of two-mode networks #7

Open juhopaak opened 6 years ago

juhopaak commented 6 years ago

Currently the PrepText function accepts either words or groups as the node type. It would be useful to be able to create and visualize two-mode networks by using both of these as nodes.

theresagessler commented 5 years ago

I've also been wondering about this - reading the vignette really made me want to do two-mode networks - did I overlook something or is it just not possible? I was also thinking of quick-and-dirty implementations, e.g. adding the words provided by the InterpretText function to the visualization - could that be a work-around if creating two-mode networks is not possible (yet)?

cbail commented 5 years ago

Hi theresa- sorry for the slow reply. When you say you want to do two-mode networks, do you mean you want to visualize two-mode networks?

theresagessler commented 5 years ago

Hi, thanks for the answer. Yes, I mean visualizing (and of course also preprocessing, e.g. thinning out based on the number of connections etc.) . One of the things that drew me to trying out was the Two-mode networks visualization you have in the beginning of your vignette. Of course you propose to move beyond this two-mode form by projecting it to a one-mode form but are there plans to also implement projections in the two-mode form in the package?

cbail commented 5 years ago

No immediate plans, unfortunately.

On Oct 29, 2018, at 11:37 AM, theresagessler notifications@github.com<mailto:notifications@github.com> wrote:

Hi, thanks for the answer. Yes, I mean visualizing (and of course also preprocessing, e.g. thinning out based on the number of connections etc.) . One of the things that drew me to trying out was the Two-mode networks visualization you have in the beginning of your vignette. Of course you propose to move beyond this two-mode form by projecting it to a one-mode form but are there plans to also implement projections in the two-mode form in the package?

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_cbail_textnets_issues_7-23issuecomment-2D433957097&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=MT-Z8xM6IWJcuwrMhSS_orYu7NXahq6npuGw-mSN924&m=aEbNux9fuSfUg-rvFT1sp7ffmgWDa5VRiQY5oz7Piws&s=Kw4nY1WPWMCdaEMtdNAqVzgOv_m78Ond4e3z73nWkGo&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AICdD6NTfDrg45uYab-5FmAts3pV9Oue13ks5upyCugaJpZM4U8oZh&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=MT-Z8xM6IWJcuwrMhSS_orYu7NXahq6npuGw-mSN924&m=aEbNux9fuSfUg-rvFT1sp7ffmgWDa5VRiQY5oz7Piws&s=JyW5f4FyHlhFbP8ZNw96ZGxjjtcpFkfoSHM3dCcj-Lk&e=.

jboynyc commented 4 years ago

I hope Chris won't mind the shameless plug. My Python implementation of textnets can visualize two-mode (bipartite) networks. I'm about to do a new release; here's a demo. See this example from the documentation.