quart_group: Generate and assign quantiles Function great for making a...

View source: R/loadData.R

quart_groupR Documentation

Generate and assign quantiles Function great for making a 'condition' vector based on gene expression values

Description

Generate and assign quantiles Function great for making a 'condition' vector based on gene expression values

Usage

quart_group(x, groups = c("1st", "2nd", "3rd", "4th"))

Arguments

x

numeric vector to be used to generate quantiles

groups

character vector of names to be assigned to quantiles in order of ascending values. Number of quantiles generated is based off of length(groups).

Value

character vector of length(x) with names of groups assigned to each value of x


kevincjnixon/BinfTools documentation built on July 10, 2024, 11:46 a.m.