Learn R Programming

⚠️There's a newer version (1.0.14) of this package.Take me there.

tidygate: add gate information to your tibble

It interactively or programmately labels points within custom gates on two dimensions, according to tidyverse principles. The information is added to your tibble. It is based on the package gatepoints from Wajid Jawaid.

The main benefits are

  • in interactive mode you can draw your gates on extensive ggplot-like scatter plots
  • you can draw multiple gates
  • you can save your gates and apply the programmatically.

Input (tibble)

elementdimension1dimension2annotations
chr or fctrchr or fctrnumeric

Command input %>% gate(element, dimension1, dimension2)

Output (tibble)

elementdimension1dimension2annotationsGate
chr or fctrchr or fctrnumeric

Installation

devtools::install_github("stemangiola/tidygate")

Copy Link

Version

Install

install.packages('tidygate')

Monthly Downloads

260

Version

0.2.8

License

GPL-3

Maintainer

Stefano Mangiola

Last Published

September 27th, 2020

Functions in tidygate (0.2.8)

gate

Label points within a scatter plot drawing a gate
add_attr

Add attribute to abject
gate_interactive

Get points within a user drawn gate
quo_names

Convert array of quosure (e.g. c(col_a, col_b)) into character vector
gate_list

Example gate_list
gate_programmatic

Get points within a user drawn gate
tidygate_data

Example data set