Description Usage Arguments Examples
The simplest way to plot an abundace profile.
1 2 3 4 5 6 7 | plot_feature(
m,
feature,
feature_name_col = NULL,
color_by = NULL,
order_by = color_by
)
|
m |
MSnSet or ExpressionSet object |
feature |
Name of the feature to plot. Should be in featureNames(m). |
feature_name_col |
Name of the column in fData(m) that should contain name of the feature. The default value is NULL and matches feature against featureNames(m). |
color_by |
One of the varLabels(m) that will be used to color points. Default is no coloring. |
order_by |
One of the varLabels(m) for ordering points. Defaul is 'color_by'. If no ordering desired use NULL. |
1 2 3 4 5 | data(cptac_oca)
plot_feature(oca.set, "NP_001077422.1")
plot_feature(oca.set, "NP_001077422.1", color_by = "Batch")
plot_feature(oca.set, "NP_001077422.1", color_by = "Batch", order_by = "iTRAQ_ID")
plot_feature(oca.set, feature = "NP_001077422.1", feature_name_col = "RefSeq", color_by = "Batch")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.