Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot.data_network #67

Closed
priviere opened this issue Aug 3, 2017 · 3 comments
Closed

plot.data_network #67

priviere opened this issue Aug 3, 2017 · 3 comments
Assignees
Labels
Network Related to network functions
Milestone

Comments

@priviere
Copy link
Owner

priviere commented Aug 3, 2017

@priviere
Copy link
Owner Author

priviere commented Aug 8, 2017

Following discussion with Mathieu :

  • objective : have insight on what is going on in the network with simple graph

  • format data

    • format 1
      id_event, seed_lot_parent, seed_lot_child, relation_type
      germplasm_parent, location_parent, year_parent,
      germplasm_son, location_son, year_son
      alt, long, lat
      => do a test with the four first columns with data
    • format 2
      id_event, relation_type
      germplasm_parent, location_parent, year_parent,
      germplasm_son, location_son, year_son
      alt, long, lat
      => do a test with the ? first columns with data
  • function to format the data
    output = matrix with 0 and 1

  • arg organise-sl in shinemas2R : curve line and arrows for diffusion

  • Distance matrix : leave it, too complexe to do some thing ok

  • cf graph from igraph for description (to convert to ggplot2) : cf http://kateto.net/network-visualization

  • vignette : take into account local, regional national organisation for network structure (exemple with filter on data_network)

@priviere
Copy link
Owner Author

priviere commented Sep 18, 2017

Done in v0.23

  • format data (cf improve format_data_PPBstats() #65): lots of evolution compared to what was written here => see code and doc (add arg vertex_type and network_type)

  • Distance matrix : leave it, too complexe to do something ok

  • create plot.network_data.R:

  • seed lot graph:

    • change edges representation in a more visible way
    • arg organize_sl:
      • make compulsory:
        • the format for "seed_lot_parent" and "seed_lot_child" : GERMPLASM_LOCATION_YEAR_DIGIT to be ok with code
        • the format for relation type: "diffusion"
      • curve line and arrows for diffusion
      • add barplot as for shinemas2R::get.ggplot_network.relation.barplot.R
  • bipartite graph:

    • change vertex type with location and germplasm
    • have an histogram with the number of edges the germplasm have with the location and vice versa
    • add barplot as for shinemas2R::get.ggplot_network.relation.barplot.R

Still to do

@priviere priviere changed the title describe_data.data_network plot.data_network Nov 12, 2017
@priviere
Copy link
Owner Author

priviere commented Mar 29, 2018

Done in v0.24

  • implement map with ggmap + update vignette
  • implement pie on map and network + update vignette
  • add barplot for unipart network on location + update vignette
  • display in variable edges of the network for unipart sl on barplot
    • only if data_to_pie is NULL to avoid conflict if same name in edge and data_to_pie
  • display in variable edges of the network for unipart sl on map with pies
  • display output from unipart location on a map

@priviere priviere added this to the v1 milestone Apr 4, 2018
@priviere priviere added the Network Related to network functions label Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Network Related to network functions
Projects
None yet
Development

No branches or pull requests

1 participant