getExampleVector {BrainSABER} | R Documentation

## Get an example vector for specified genes

### 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

    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

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

[Package BrainSABER version 1.4.0 Index]