makeFormulaRightSide: makeFormulaRightSide makes right hand side of formula for...

View source: R/makeFormulaRightSide.R

makeFormulaRightSideR Documentation

makeFormulaRightSide makes right hand side of formula for model variables: vector of indep. variables

Description

This function make right hand side of formula for model variables: vector of indep. variables (i.e. miRNAs) mode: 'multi' for simple, 'inter' for model with interactions returns a string in the form "~ a + b", or "~ a + b + a * b"

Usage

makeFormulaRightSide(variables, mode = "multi")

Arguments

variables

The vector created by miRNA_select

mode

One of "multi", "inter" or NULL

Value

data.frame containing Miranda data

Examples


x <- makeFormulaRightSide(variables, mode = "multi")



Mercedeh66/mirTarRnaSeq documentation built on April 14, 2023, 6:49 a.m.