Description Usage Arguments Details Value See Also Examples
View source: R/plot.associations-method.R
Plot showing the associated trajectories with or without estimated time shift.
1 2 3 |
x |
an object of class |
data1 |
an object of class |
data2 |
an object of class |
time |
a vector of class |
feature1 |
the reference feature to visualise, either the index or the name. |
feature2 |
the associated feature to visualise, either the index or the name. |
cutoff |
for the associated feature. If |
fdr |
(default TRUE) indicating if the false discovery rate of the corrected p-values from the |
absCor |
(default FALSE) if |
withShift |
(default FALSE) indicating if the associated feature should be plotted with the time shift. |
... |
ignored |
The function allows to visualise features with and without realignement (or shift) of the time profiles according to the estimated delays using associateData() function from the dynOmics package. Features to be visualised can be filtered either using FDR corrected p-values or a correlation threshold.
plot showing the associated data as calculated by associateData()
associateData
, summary.associations
1 2 3 4 5 6 7 8 9 10 | ## Not run:
data(Metabolites)
data(Transcripts)
associations <- associateData(Metabolites[,1:2],Transcripts[,c(1:100)])
#if you only define feature1 or feature2 if will plot all associations
plot(associations,Metabolites,Transcripts,feature1=1,withShift = TRUE)
#if you define feature1 and feature2 it will only plot these two profiles
plot(associations,Metabolites,Transcripts,feature1="Metabolite 1",feature2="Transcript 2")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.