make_GXM: Compute gene expression correlation matrix.

Description Usage Arguments Value Examples

Description

This function computes a gene expression correlation matrix given a file of transcript expression levels for each sample in the study. It returns a correlation matrix with rownames and colnames as sample IDs.

Usage

1
make_GXM(expFile = NULL, gxmFilePrefix = NULL, idfile = NULL)

Arguments

expFile

Path to gene expression file.

gxmFilePrefix

File path prefixes for outputting GCTA style binary correlation matrices.

idfile

Path to file containing family IDs and sample IDs with header FID and IID.

Value

Returns a correlation matrix of (N-samples x N-samples), with rownames and colnames as sample IDs.

Examples

1
2
3
4
5
 ## load gene expression values from vignette
 expressionFile <- system.file(package = "OmicKriging",
                     "doc/vignette_data/ig_gene_subset.txt.gz")
 ## compute correlation matrix
 geneCorrelationMatrix <- make_GXM(expressionFile)

OmicKriging documentation built on May 1, 2019, 9:16 p.m.