gtformatter: gtformatter

View source: R/functions.R

gtformatterR Documentation

gtformatter

Description

Applies the formatter to each sample column in turn and adds the next formatting rule to the DT object for all samples

Usage

gtformatter(dt, samples)

Arguments

dt

a DTdatatable object

samples

a character vector of sample names

Value

a function which take a DT datatable object and fills the genotype columns of the DT object with different colours depending on the genotype


RichardJActon/MutantSets documentation built on Feb. 27, 2025, 3:13 a.m.