Learn R Programming

SIP (version 0.1.0)

get_fixed: This function subsets the sample-by-variable dataframe to the "fixed" (i.e., non-permuted) data. This subset should include ID variables, sex, and genotypic covariates.

Description

This function subsets the sample-by-variable dataframe to the "fixed" (i.e., non-permuted) data. This subset should include ID variables, sex, and genotypic covariates.

Usage

get_fixed(df, id.var = id.var, sex.var = sex.var, geno.vars = geno.vars)

Value

Data frame

Arguments

df

Data frame

id.var, sex.var

String

geno.vars

Character vector