pData into character valuesR/entity-attribute-value.R
eav_encode_covariate.RdThis function is not exported, and should only be called from within the
as.EAVtable() function because we rely on validity checks that are
happening there.
eav_encode_covariate(dat, covariate_def, aname = "variable")
| covariate_def | the single-list-definition of this covariate |
|---|---|
| pdata | the |
| vname | the name of the attribute column in the eav table |
a four-column data.frame (dataset,sample_id,variable,value)
with the encoded covariate into a single value column.