Hmm, it does delete the H-Score for me, but it does not remove the tumor/stroma setting, instead it shows Class Stroma: Negative, etc.
I think to create a second entire population of positives and negatives, you would need to get into some scripting and create new variables. These would also may not show up well in the Annotation measurements, so you would probably need to handle the data primarily externally to QuPath, say in R.
For example, here I created a script that added a "CellType" variable with a 1 or 0 value to all of the subcellular detections. You could use something similar to loop through the cells and check the value of some number of variables, and then apply a new variable depending on what you are checking.
-------
def clusters = getObjects({p -> p.class == qupath.imagej.detect.cells.SubcellularDetection.SubcellularObject.class})
// Loop through all clusters
for (c in clusters) {
// Find the containing cell
def cell = c.getParent()
def cellClass = cell.getPathClass()
def cellname = cell.getPathClass().getName()
//cellType will be 0 in all cases except when the containing cell is dual positive, then it will be set to 1 by the if statement
def cellType = 0
if (["Dual Positive"].contains(cellname)) {
cellType=1
}
def ml = c.getMeasurementList()
ml.putMeasurement("CellType", cellType)
ml.closeList()
}
fireHierarchyUpdate