buildPlottingDF | R Documentation |
Sets up a dataframe used by several plotting functions by joining the required data with relevant phenotype data
buildPlottingDF( df, phenoTable, x_var = NULL, facet1 = NULL, facet2 = NULL, col_by = NULL, col_name = col_by, id_var = NULL )
df |
dataframe storing plotting data values |
phenoTable |
pData of the MRexperiment; all following parameters must be a column of the phenoTable |
x_var |
main plotting variable |
facet1 |
column-based faceting (can be NULL) |
facet2 |
row-based faceting (can be NULL) |
col_by |
coloring factor (can be NULL) |
col_name |
character to be used as name for col_by |
id_var |
variable used to connect samples longitudinally (can be NULL) |
dataframe obtained by joining df and relevant columns of phenoTable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.