correlationQuery: Query correlation matrix for top markers accross combined...

Usage Arguments Value

View source: R/correlationQuery.R

Usage

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, ...)

Arguments

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

Value

data.frame of mz and r, sorted in descending order by r for the query_mz, first value is always mz_query


NHPatterson/RegCombIMS documentation built on Feb. 9, 2020, 6:08 p.m.