The function 'chordDiagramVDJ' from the 'LymphoSeq' Package has 2 code problems
0
0
Entering edit mode
@omranallatif-12827
Last seen 7.2 years ago

Hi,

this post is to report a problem.

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

(I)

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[is.na(vj) | vj == ""] <- "unresolved"

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

 

(II)

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")]

 

Best,

Omran

LymphoSeq chordDiagramVDJ • 621 views
ADD COMMENT

Login before adding your answer.

Traffic: 721 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6