systematic_regression: Systematic regression function which performs the complete...

Description Usage Arguments Value

View source: R/systematic_regression.R

Description

Systematic regression function which performs the complete pipeline and returns the results flattened into a data frame row

Usage

1
2
3
4
5
6
7
systematic_regression(
  dataset,
  effect_variable,
  main_covariable,
  sample_variable = "sample",
  phenotype_variables = "ALL"
)

Arguments

dataset

DataFrame This dataframe contains the whole data, combining sample ids, phenotypes and independent variables

effect_variable

String The dependent variable label

main_covariable

String The main covariable label, this is the studied one, other covaraibles can be considered or not at the regression.

sample_variable

String The name of the column where the sample names are defined.

phenotype_variables

Array|"ALL" The list of covariables that cuould be included. Columns not defined in this array will be excluded from the study.

Value

DataFrame One row dataframe with all the phentoype values


lpalomerol/inmuneAssociation documentation built on June 10, 2020, 2:45 p.m.