gemini_prepare_input: Prepare input before Model creation

View source: R/gemini_prepare_input.R

gemini_prepare_inputR 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"))


sellerslab/gemini documentation built on Dec. 5, 2022, 8:56 a.m.