query_ref: Get correlation between query and reference signatures.

View source: R/load_illum.R

query_refR 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.


alexvpickering/crossmeta documentation built on May 23, 2024, 5:06 a.m.