View source: R/generate.plot.covariates.R
generate.plot.covariates | R Documentation |
Generate a covariate object for plotting purposes
generate.plot.covariates(plotting.data, sample.covariates = NULL, gene.covariates = NULL)
plotting.data |
A matrix or data-frame that contains the main plotting data. Sample IDs are expected for column names |
sample.covariates |
A sample by covariate data-frame. Currently only accepts sample covariates 'Type' and 'Cartridge'. Must also contain a 'SampleID' column to match to 'nano.counts' sample IDs. Defaults to NULL |
gene.covariates |
A gene by covariate data-frame. Currently only accepts gene covariate 'CodeClass'. A 'Name' column is mandatory to match to 'nano.counts' gene probe names. Defaults to NULL |
Called by visualize.results
, this function creates a covariate annotate (as a fully formed list) that can be passed onto a plot
A list of 2 sub-lists that contain border colour and fill colour information for 1) sample covariates and 2) gene covariates
Dorota Sendorek and Emilie Lalonde
NanoStringNormCNV:::generate.plot.legend
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.