Skip to content

counts are incorrect in filtering step if source and target have the same type #5

Description

@dbeanm

filterNetworksByCommonSource prints a count for source nodes using

networkA['sourcenodes'] = networkA['graph'].vs(type_eq=networkA['sourcetype'])['name']

however if sourcetype and targettype are the same, this will be the count of ALL nodes, not just source nodes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions