christophergandrud / christophergandrud/networkD3

set xpos per species

Open
#296 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
659
Forks
259
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am using the SankeyNetwork function of D3Network.

I was wondering, does NetworkD3 has a function to set the xpos for a set of nodes? I am using a bigger dataset with 61 links; all from 6 different species. I would like to set an xpos for the 6 species and see the gene flow horizontally, one species per xpos.

Ideally it would look something like this:
0 Pgla_V1_ctg0001 xpos=1
1 elephantNW_024704744.1 xpos=2
2 elephantNW_024704774.1 xpos=2
3 ssNC_052151.1 xpos=3
4 ssNC_052146.1 xpos=3
5 whiteNW_024470908.1 xpos=4

Kind regards!
Esther

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.