gemini_prepare_input: Prepare input before Model creation

Description Usage Arguments Value Examples

View source: R/gemini_prepare_input.R

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

1
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

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

sellerslab/gemini documentation built on April 9, 2021, 9:01 p.m.