- changed title to getGene returns first not Not Localized results
getGene returns first not Not Localized results
Issue #33
resolved
If there are ties and first=TRUE, getGene should return the first non "Not Localized" results. If there are only "Not Localized" calls, then return them. May add a new argument, "not.localized.omit"
Currently:
v_call <- "IGHV03-NL1,IGHV03-30_3,IGHV03-30"
getGene(v_call, first=TRUE)
[1] "IGHV03-NL1"
Wanted:
v_call <- "IGHV03-NL1,IGHV03-30_3,IGHV03-30"
getGene(v_call, first=TRUE)
[1] "IGHV03-30_3"
v_call <- "IGHV03-NL1,IGHV03-NL2"
getGene(v_call, first=TRUE)
[1] "IGHV03-NL1"
Comments (4)
-
reporter -
reporter How about adding
omit_nl=FALSE
(default) togetSegment()
. Probably just needs an initial pass with a special regex. -
reporter -
assigned issue to
-
assigned issue to
-
- changed status to resolved
Done in 26be4b3 via
omit_nl
flag. - Log in to comment