Choose the normal phenotype sequence for TRBJ2-2
This commit is contained in:
parent
2acec89f84
commit
e4189cab01
|
@ -34,7 +34,11 @@ parse_metadata <- function(metadata) {
|
|||
#' @return A \code{character} containing the gene sequence
|
||||
match_id_sequence <- function(names, vdj_segments, id) {
|
||||
matches <- grep(names, pattern = id)
|
||||
row <- matches[1]
|
||||
if(id == "TRBJ2-2"){
|
||||
row <- matches[2]
|
||||
} else {
|
||||
row <- matches[1]
|
||||
}
|
||||
return(as.character(vdj_segments[row]))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue