query_ref {crossmeta} | R Documentation

## Get correlation between query and reference signatures.

### Description

Determines the pearson correlation between the query and each reference signature.

### Usage

    query_ref(query, ref, sorted = TRUE, ngenes = 200)

### Arguments

`query` | Named numeric vector of differentual expression values for query genes. Usually 'meta' slot of `get_dprimes` result.
`ref` | A matrix of differential expression to query against (rows are genes, columns are samples).
`sorted` | Would you like the results sorted by decreasing similarity? Default is TRUE.
`ngenes` | The number of top differentially-regulated (up and down) query genes to use.

### Value

Vector of pearson correlations between query and reference signatures.

[Package crossmeta version 1.16.1 Index]