Last data update: 2014.03.03

Data Source

R Release (3.2.3)
CranContrib
BioConductor
All

Data Type

Packages
Functions
Images
Data set

Classification

Results 1 - 8 of 8 found.
[1] < 1 > [1]  Sort:

write_GRMBin (Package: OmicKriging) : Write GRM binary files.

Function to write a binary GRM format recently introduced by GCTA. It takes a correlation matrix as used by other Kriging functions, and writes three files: binary file for storing the diagonal + lower triangular elements, a text file for sample IDs, and a binary file storing the number of SNPs used in the correlation matrix calculation.
● Data Source: CranContrib
● Keywords:
● Alias: write_GRMBin
● 0 images

okriging (Package: OmicKriging) : Run omic kriging on a set of correlation matrices and a given phenotype.

Universal kriging formula: lambda' = ( c + X m )' iSig m' = ( x - X' iSig c )' ( X' iSig X )^-1 m' = ( t(x) - c' iSig X ) ( X' iSig X )^-1 lambda' = (c' + m' X) iSig x: #covariates x ntest X: ntrain x #cov c: ntrain x ntest
● Data Source: CranContrib
● Keywords: prediction
● Alias: okriging
● 0 images

make_GXM (Package: OmicKriging) : Compute gene expression correlation matrix.

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.
● Data Source: CranContrib
● Keywords:
● Alias: make_GXM
● 0 images

make_PCs_irlba (Package: OmicKriging) : Run Principal Component Analysis (PCA) using the irlba package.

A simple wrapper around the irlba() function which computes a partial SVD efficiently. This function's run time depends on the number of eigenvectors requested but scales well. Use this function to generate covariates for use with the okriging or krigr_cross_validation functions.
● Data Source: CranContrib
● Keywords: GRM, PCA,, covariate,
● Alias: make_PCs_irlba
● 0 images

load_sample_data (Package: OmicKriging) : Loads sample phenotype and covariate data into data frame.

This function loads a file into a data frame. This file should contain one row per sample in your study, and one column for each covariate and phenotype of interest. Additionally, it requires a header with "IID" for the column of sample IDs, and a unique name for each phenotype and covariate.
● Data Source: CranContrib
● Keywords: input
● Alias: load_sample_data
● 0 images

krigr_cross_validation (Package: OmicKriging) : Multithreaded cross validation routine for Omic Kriging.

This is a flexible cross validation routine which wraps the Omic Kriging calculation. The user can specify the size of the test set, all the way to "Leave One Out" cross validation. Additionally, all relevant parameters in the okriging function are exposed. This function uses the doParallel package to distribute computation over multiple cores. If the phenotype is case/control, a ROCR AUC and GLM analysis is run and the results printed to screen.
● Data Source: CranContrib
● Keywords: cross, prediction,, validation
● Alias: krigr_cross_validation
● 0 images

read_GRMBin (Package: OmicKriging) : Read the GRM binary file.

Function provided by GCTA maintainers (modified slightly) for accessing their recently introduced binary GRM format. The GRM is stored as a vector of numerics which correspond to the lower triangular elements including the diagonal. We simply read these, pull the diagonal elements, and inflate them into a full symmetric matrix. We add sample IDs to colnames and rownames for compatibility with other Kriging functions.
● Data Source: CranContrib
● Keywords:
● Alias: read_GRMBin
● 0 images

make_PCs_svd (Package: OmicKriging) : Run Principal Component Analysis (PCA) using base R svd() function.

A simple wrapper around the base R svd() function which returns the top N eigenvectors of a matrix. Use this function to generate covariates for use with the okriging or krigr_cross_validation functions. This wrapper preserves the rownames of the original matrix.
● Data Source: CranContrib
● Keywords: GRM, PCA,, covariate,
● Alias: make_PCs_svd
● 0 images