Description Usage Arguments Details Value
View source: R/dgelist_functions.R
If the 'DGEList$genes' entry is undefined, the feature data is added as the genes entry; otherwise the new columns are appended to the RHS of the existing genes entry.
1 | append_feature_annotations(dge, annotations, feature_id = "feature_id")
|
dge |
A DGEList |
annotations |
A data-frame to either use as the 'genes' entry or to append to the 'genes' entry of the DGEList. Will match its 'feature_id' column against the feature ordering in the DGEList. |
feature_id |
Which column of 'annotations' contains the IDs for the features. The contents of this column will be matched against a column of 'dge$genes' - this is preferentially a column of the same name but, if that colname is absent from 'dge$genes', then the rownames of the DGEList will be used. |
Ensures that the feature-id / gene-id matches up between the provided data-frame and the existing 'DGEList'
The column named by 'feature_id' must be present in the 'annotations' data frame. If that column is present in the $genes entry of 'dge', matching will be done on that column, otherwise, matching will be done on the rownames of the DGEList.
a DGEList
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.