paiva-s-lab / FlowCT

FlowCT: A semi-automated workflow for deconvolution of immunophenotypic data and objective reporting on large datasets
4 stars 4 forks source link

combine.subclusterings, problems when same subclustering names #1

Closed jgarces02 closed 2 years ago

jgarces02 commented 2 years ago

In theory, same names as in the "original" one should work but not if names are the same between subclustering objects...

combine.subclusterings(global.fcs.SCE = fcs, clusters.named = c("SOM_named", "SOM_named_lymphos", "SOM_named_lymphos"), subclustering.fcs.SCE = list(fcs_lymphos, fcs_lymphos2))

Temporal solution: change names manually...

colnames(colData(fcs))[<number of column>] <- "temporal_SOM"

or (duplicate column)

colData(fcs) <- data.frame(colData(fcs), temporal_SOM = colData(fcs)[<number of column>])