cynthiahqy / conformr-xmap-project

R Package for harmonising data of different classifications or aggregations into a single dataset
MIT License
7 stars 1 forks source link

Vignette: NA Values #33

Closed cynthiahqy closed 2 years ago

cynthiahqy commented 2 years ago
cynthiahqy commented 2 years ago

Add message about NA handling at aggregation stage -- NA + NA = NA; NA + value = value

cynthiahqy commented 2 years ago

will be mentioned in use_panel_maps vignette

cynthiahqy commented 1 year ago

NA are not allowed in xmap transformation graphs, but what about in named_values/observation data? -->

warn that we treat them as 0, with code suggestion for silencing the warning?

look_for_na function: https://github.com/grunwaldlab/metacoder/blob/edd7192858fffc397fb64b9dcac00ed19dbbaa12/R/heat_tree--internal.R#L102C1-L123C2