getExampleVector: Get an example vector for specified genes

Description Usage Arguments Value Examples

View source: R/getExampleVector.R

Description

This function returns a named example vector of gene expression values for the specified genes, taken from the 1st row of AIBSARNA, for use in demonstrating getSimScores.

Usage

1
getExampleVector(genes, AIBSARNA = NULL)

Arguments

genes

a character vector of HGNC-compliant gene names

AIBSARNA

an instance of the AIBSARNA dataset, built using the buildAIBSARNA() function

Value

a named character vector of gene-expression values

Examples

1
2
3
AIBSARNA <- buildAIBSARNA(mini = TRUE)
myGenes <- c("TSPAN6", "DPM1", "C1orf112")
myExampleVector <- getExampleVector(myGenes, AIBSARNA)

bicbioeng/BrainSABER documentation built on Oct. 10, 2021, 6:38 a.m.