mattflor / chorddiag

R interface to D3 chord diagrams
159 stars 44 forks source link

How to edit the toolip? #37

Open yuliaUU opened 4 years ago

yuliaUU commented 4 years ago

Is there a way to edit what is shown in toolip in R: I just want to have a toolip showing A>B information ( with no B<A)


m <- matrix(c(11975,  5871, 8916, 2868,
               1951, 10048, 2060, 6171,
               8010, 16145, 8090, 8045,
               1013,   990,  940, 6907),
               byrow = TRUE,
               nrow =2, ncol = 2)
groupnames <- c("A", "B")
row.names(m) <- groupnames
colnames(m) <- groupnames
chorddiag(m)