fix.datatypes: Adjust the data types for columns of a meta data frame

View source: R/cmapR_subset.R

fix.datatypesR Documentation

Adjust the data types for columns of a meta data frame

Description

GCT(X) parsing initially returns data frames of row and column descriptors where all columns are of type character. This is inconvenient for analysis, so the goal of this function is to try and guess the appropriate data type for each column.

Usage

fix.datatypes(meta)

Arguments

meta

a data.frame

Details

This is a low-level helper function which most users will not need to access directly

Value

meta the same data frame with (potentially) adjusted column types

Source

https://github.com/cmap/cmapR

See Also

Other GCTX parsing functions: processIds(), readGctxIds(), readGctxMeta()


nuno-agostinho/cTRAP documentation built on March 28, 2024, 3:59 p.m.