Skip to content

Commit

Permalink
Update plotHeatmap.R
Browse files Browse the repository at this point in the history
fix ConsensusCNA
  • Loading branch information
AntonioDeFalco authored Jan 16, 2024
1 parent 3e747ad commit 90b45b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plotHeatmap.R
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ plotCNAline <- function(segmList, segmListSpec, samp, nSub, colors_samp = NULL){

plotConsensusCNA <- function(samp, nSub, organism = "human", pathOutput = "./output/", colors_samp = NULL){

allFile <- list.files(pathOutput, pattern = paste0(samp,"_subclone[1-9]_CN.seg") )
allFile <- list.files(pathOutput, pattern = paste0(samp,"_subclone[1-9]{1,2}_CN.seg") )
segmList <- lapply(allFile, function(i) read.table(paste0(pathOutput,i), sep="\t", header=TRUE, as.is=TRUE))

segmList <- lapply(segmList, function(x) {
Expand Down

0 comments on commit 90b45b9

Please sign in to comment.