Question: The function 'chordDiagramVDJ' from the 'LymphoSeq' Package has 2 code problems
gravatar for omran.allatif
2.1 years ago by
omran.allatif0 wrote:


this post is to report a problem.

The function 'chordDiagramVDJ' from the LymphoSeq Package has 2 code problems.


When creating the vj data frame (idem dj), with this code :

vj <- sample[, c("vFamilyName", "jFamilyName")]

Both columns of the vj data.frame are Factors, so asking to replace NAs or empty positions by a character string is a wrong code, since the level  "unresolved" doesn't exist.

vj[ | vj == ""] <- "unresolved"

 So the piece of code above must be introduced after the conversion of the vj columns to Character, not before.



When the association =="DJ"

dj <- sample[, c("vFamilyName", "jFamilyName")]

The selected column 'vFamilyName' isn't required, the one required is 'dFamilyName'.

So the wrong code is :

dj <- sample[, c("vFamilyName", "jFamilyName")]

and the correct code is :

dj <- sample[, c("dFamilyName", "jFamilyName")]




lymphoseq chorddiagramvdj • 266 views
ADD COMMENTlink written 2.1 years ago by omran.allatif0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 146 users visited in the last hour