runLM: Fit a linear model to expression data for a single gene

Description Usage Arguments Value

Description

Fit a linear model to expression data for a single gene

Usage

1
runLM(gdat, pdat, calibrate = TRUE, joinby = "SID", resids = FALSE)

Arguments

gdat

Data frame containing expression data for the gene

pdat

Data frame contining predictors

calibrate

Use Fredrickson et al.'s predictors (TRUE) or Brown et al.'s (FALSE)

joinby

What field to join genetic data with psychometric data (leave as is)

resids

Whether to use residualized genetic data or raw data

Value

A data frame with field Pred naming the predictor, and x containing its value.


dalejbarr/RR53 documentation built on May 14, 2019, 3:30 p.m.