Currently, as.data.frame() inserts NA values whenever the annotation "X" is applied to a cell value.
|
annotations <- get_annotations(x, i) |
|
if (recode_na) |
|
values[annotations == "X"] <- NA |
Figure out if this makes sense for other annotations and handle those cases in as.data.frame() accordingly.
Currently,
as.data.frame()insertsNAvalues whenever the annotation"X"is applied to a cell value.STATcubeR/R/as_data_frame.R
Lines 52 to 54 in 1158d37
Figure out if this makes sense for other annotations and handle those cases in
as.data.frame()accordingly.