gemini_prepare_input {gemini}R Documentation

Prepare input before Model creation

Description

This is an internal function to GEMINI, allowing for data cleanup and preprocessing before a Model object is created. This removes any gene pairs targeting the same gene twice, and removes any empty samples/replicates.

Usage

gemini_prepare_input(Input, gene.columns, sample.col.name = "samplename")

Arguments

Input

An object of class gemini.input

gene.columns

a character vector of length(2)

sample.col.name

a character indicating the name of the sample column (default = "samplename")

Value

a (prepared) gemini.input object

Examples

data("Input", package = "gemini")
Input %<>% gemini_prepare_input(gene.columns = c("U6.gene", "H1.gene"))


[Package gemini version 1.6.0 Index]