make.pred.df.from.glm: Create a Data Frame of Predictions for ChIPseq Data Using a...

Description Usage Arguments Value

Description

Given a linear model and a data frame containing labeled predictors of test data and the actual responses as the "ChIPseq.bound" column, predict the responses and return a data frame of the actual responses, the predicted responses, and the model name

Usage

1
make.pred.df.from.glm(glm.model, df.testdata)

Arguments

glm.model

A generalized linear model that corresponds to the supplied data

df.testdata

A data frame containing test data. It must include columns for all the predictors, plus the actual response as the column "ChIPseq.bound"

Value

A data frame containing the actual response, the predicted response, and the name of the supplied model


PriceLab/FPML documentation built on May 28, 2019, 2:25 p.m.