Permalink
Browse files

fix bug for NCBI plotting

In line 266, grep("chr", chr) changed to grepl("chr", chr)
  • Loading branch information...
gavinha committed Sep 24, 2018
1 parent 6a8aa33 commit a50e6fa5f97486fefe06e4a81600ae7212e064ca
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/titanCNA_v1.15.0_TenX.R
@@ -263,7 +263,7 @@ if (sex == "male" || sex == "Male" || sex == "MALE" || sex == "None" || is.null(
chrsToPlot <- chrs
}
for (chr in chrsToPlot){
if (grep("chr", chr)){
if (grepl("chr", chr)){
chrStr <- chr
}else{
chrStr <- paste0("chr", chr)

0 comments on commit a50e6fa

Please sign in to comment.