Scale gene data columns

scale_gene_data(data, genes, scale_type = "log10")

Arguments

data

a data.frame with gene expression data

genes

the genes to plot

scale_type

the type of scaling to supply. Currently only supports "log10" (default), and "linear" (no rescaling).

Value

a data.frame with columns matching genes rescaled based on scale_type.