guessMapping,LongTableDataMapper-method | R Documentation |
Checks for columns which are uniquely identified by a group of identifiers.
This should be used to help identify the columns required to uniquely
identify the rows, columns, assays and metadata of a DataMapper
class
object.
## S4 method for signature 'LongTableDataMapper'
guessMapping(object, groups, subset, data = FALSE)
object |
A |
groups |
A |
subset |
A |
data |
A |
Any unmapped columns will be added to the end of the returned list
in an
item called unmapped.
The function automatically guesses metadata by checking if any columns have only a single value. This is returned as an additional item in the list.
A list
, where each item is named for the associated groups
item
the guess is for. The character vector in each item are columns which are
uniquely identified by the identifiers from that group.
guessMapping(exampleDataMapper, groups=list(rows='treatmentid', cols='sampleid'),
subset=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.