View source: R/entity-attribute-value.R
as.EAVtable | R Documentation |
pData
data.frame to a melted EAV tableTransforms a wide pData
data.frame into a melted EAV table for use in
a FacileDataSet
. This function will also produce the list-of-list encodings
that are generated from eav_metadata_create()
to do its thing as an
attribute of the returned object.
as.EAVtable(
x,
ignore = c("dataset", "sample_id"),
covariate_def = list(),
na.rm = TRUE
)
x |
a wide |
covariate_def |
passed to |
If you want to provide custom definitions for the covariates in the EAVtable
that are different than the ones generated in eav_metadata_create()
, then
provie that definition list in the covariate_def
parameter.
a melted EAV table from x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.