this functions takes covariate data and a cohort/population and remaps the covariate and row ids, restricts to pop and saves/creates mapping

MapIds(covariateData, cohort = NULL, mapping = NULL)

Arguments

covariateData

a covariateData object

cohort

if specified rowIds restricted to the ones in cohort

mapping

A pre defined mapping to use