utils: Condense Ewing sarcoma
Condense Ewing Sarcoma with Ewing Sarcoma / PNET due to a inconsistency in data mining.
This commit is contained in:
parent
b3ef8086ec
commit
3e263bb400
3
utils.R
3
utils.R
@ -81,6 +81,9 @@ sma_load_data <- function(file) {
|
|||||||
# At this time only solid tumors are important
|
# At this time only solid tumors are important
|
||||||
sma <- filter(sma, diagnosis_type == "solid")
|
sma <- filter(sma, diagnosis_type == "solid")
|
||||||
|
|
||||||
|
# Condense 'Ewing Sarcom'
|
||||||
|
levels(sma$diagnosis)[match("Ewing sarcoma", levels(sma$diagnosis))] <- "Ewing sarcoma / PNET"
|
||||||
|
|
||||||
# After filtering unused levels must be cleared from the data
|
# After filtering unused levels must be cleared from the data
|
||||||
sma <- droplevels(sma)
|
sma <- droplevels(sma)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user