View source: R/make_dataset_ob.R
make_dataset_ob | R Documentation |
Make a dataset object by specifying 3 main components: 1) values matrix (required), 2) column annotations, 3) row annotations
make_dataset_ob(
vals,
colAnn = NULL,
rowAnn = NULL,
name = "",
remove_outliers = F
)
vals |
Numeric matrix or data frame of values |
colAnn |
Column annotations. Data frame that specifies the annotations for each column of vals. Each row defines features for a specific column. The row names should match the column names of vals. |
rowAnn |
Row annotations. Data frame that specifies the annotations for each row of vals. Each row defines features for a specific row The row names should match the row names of vals. |
name |
Name of dataset that will be used in plots and so on. |
remove_outliers |
TRUE or FALSE. Should we remove outliers in vals? (i.e. for each column, only keep points between quartile(Q)1 and Q3) |
A dataset object (essentially a list with 4 elements: vals, colAnn, rowAnn, name)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.