utils: Filter all hematologic patients

At this time only solid tumors are important. This is a hard coded
switch, not very useful. But it get the job done and we can decide later
how this can be made better.
This commit is contained in:
Jens Sauer 2020-11-17 15:12:58 +01:00
parent c68e536861
commit b81756310b

View File

@ -76,6 +76,9 @@ sma_load_data <- function(file) {
# of transplantation.
sma <- filter(sma, asct_age >= 16.0)
# At this time only solid tumors are important
sma <- filter(sma, diagnosis_type == "solid")
return(sma)
}