createGroupByAttribute | R Documentation |
Elements are identified by their respective row name.
createGroupByAttribute(col, dataset)
col |
Character: column name |
dataset |
Matrix or data frame: dataset |
Named list with each unique value from a given column and respective elements
Other functions for data grouping:
getGeneList()
,
getSampleFromSubject()
,
getSubjectFromSample()
,
groupPerElem()
,
plotGroupIndependence()
,
testGroupIndependence()
df <- data.frame(gender=c("male", "female"),
stage=paste("stage", c(1, 3, 1, 4, 2, 3, 2, 2)))
rownames(df) <- paste0("subject-", LETTERS[1:8])
createGroupByAttribute(col="stage", dataset=df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.