Description Usage Arguments Details
Ensures that the samples mentioned in the rows of the design matrix are all present in an expression dataset (if provided).
1 | import_design(filepath, dge)
|
filepath |
A tab-separated file that defines the experimental design for the current experiment. This function fails if the file does not exist. |
dge |
A DGEList containing the expression data for the current experiment. This is optional. But providing a DGEList helps sanity check the design matrix - ensuring the samples in the design are all present in the DGEList. |
But note, the user should ensure that the DGEList is subset / reordered if the samples in the DGEList is a superset (or unmatching order) or those in the returned design matrix.
Here, we assume that the first column in the '.tsv' contains the sample identifers, as used throughout the _R_ workflow. Each entry in that column should be a single string that can directly be used as a column name. All other columns should be numeric, and will be converted to a matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.