Description Usage Arguments Value Examples
Get the metadata associated with an ExpressionSet object. This could be the phenotype or the features data. In either cases the functions uses the standard bioconductor accessor with some formating
1 | metadata_get(eset, col_name, new_name, type = "phenotype")
|
eset |
An ExpressionSet object |
col_name |
A character vector of columns in the metadata |
new_name |
A character string of the new names of the columns |
type |
A character string (default 'phenotype') |
A data.frame always contains a column for each col_name with the name in new_name. When type is 'phenotype', row.names are the samples, and when type is 'features', row.names are the feature IDs/probes
1 2 3 4 5 6 | library(Biobase)
data("sample.ExpressionSet")
metadata_get(sample.ExpressionSet,
c('sex', 'type'),
c('sex', 'type'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.