View source: R/correlationQuery.R
1 2 3 | correlationQuery(combined_cardinaldata, correlation_matrix,
query_dataset = "mydata", query_against = c("otherdata", "all"),
query_mz = 885.55, plot_ions = T, top_n = 9, ...)
|
combined_cardinaldata |
an object of class "MSImageSet", combined dataset |
correlation_matrix |
object generated from getCorrelationMatrix |
query_dataset |
name of the dataset in 'ds_origin' that we wish to query for |
query_against |
name of the dataset in 'ds_origin' that we will query against, can be multiple, passing 'all' will query all datasets |
query_mz |
mz in the query_dataset one wishes to find correlations to in query_against dataset(s) |
plot_ions |
boolean, whether to make a plot of top ions |
top_n |
number of ions to plot |
... |
arguments passed to image, useful for passing layout=c() of image with multiple queries |
data.frame of mz and r, sorted in descending order by r for the query_mz, first value is always mz_query
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.