getGeneSizes: getGeneSizes

Description Usage Arguments Value Author(s) See Also Examples

Description

This function counts the number of SNPs assigned to each gene, and returns a named list containing the counts.

Usage

1
getGeneSizes(snpGeneMap)

Arguments

snpGeneMap

A named list containing vectors of SNP IDs mapped to each gene.

Value

Returns a list of SNP counts for each gene.

Author(s)

Michael Mooney <mooneymi@ohsu.edu>

See Also

snpsToGenes

Examples

1
2
3
4
data(sampleGSA)

# Get gene sizes
snpCounts = getGeneSizes(snpMap)

mooneymi/gsaPermute documentation built on May 23, 2019, 6:11 a.m.