set_col_types: Set the column types based on the column names

View source: R/load.R

set_col_typesR Documentation

Set the column types based on the column names

Description

set_col_types loads the first line of the data and sets the column type based on the column names. Chr and Strand are factor and Start and End are integer. normalised count columns are double (float) and count columns are integer. All other columns are set to the type guessed by read_tsv

Usage

set_col_types(data_file, readr_func, ...)

Arguments

data_file

Name of file to open

Value

data.frame

Examples

data <- standardise_colnames('test_data.tsv')


richysix/rnaseqtools documentation built on Jan. 26, 2025, 10:14 a.m.