color_me_grad: color_me_grad

Description Usage Arguments Value See Also Examples

View source: R/color_me_grad.R

Description

function to make color info dataframe corresponding to your feature of interest for your data that you want represented via color, then adding it to the dimension reduced dataframe

Usage

1
color_me_grad(u_data, info_overlay, your_palette)

Arguments

u_data

dataframe holding output of dimension reduction

info_overlay

data that color_me_grad will represent with color

your_palette

the palette of your choice (please see colour_values documentation to see options)

Value

dataframe with original dimension reduction and column with color values, and the info_overlay column

See Also

colour_values

Examples

1
color_me_grad(umakea(iris[,1:4]), iris$Sepal.Length, "viridis")

octaviamd/interactmapper documentation built on Nov. 4, 2019, 10:14 p.m.