.fixColumnTypes {MSstatsConvert}R Documentation

Change classes of multiple columns

Description

Change classes of multiple columns

Usage

.fixColumnTypes(
  input,
  numeric_columns = NULL,
  character_columns = NULL,
  factor_columns = NULL
)

Arguments

input

data.table preprocessed by one of the cleanRaw* functions.

numeric_columns

chr, vector of names of columns that will be converted to numeric.

character_columns

chr, vector of names of colums taht will be converted to character.

factor_columns

chr, vector of names of columns that will be converted to factor.

Value

data.table


[Package MSstatsConvert version 1.4.1 Index]