unique_gene_pairs: Get unique gene pairs

View source: R/load.R

unique_gene_pairsR Documentation

Get unique gene pairs

Description

This function returns all unique gene pairs from two columns containing gene names in a dataframe. This is necessary for scoring combinatorial data where each row corresponds to a single guide construct that targets two genes. NegControl regions must be listed as "NegControl" values, and guides which only target one gene must have the non-targeted gene listed as "None".

Usage

unique_gene_pairs(df)

Arguments

df

A dataframe where each row corresponds to a single guide construct that targets two genes, which contains the columns gene1 and gene2.

Value

A dataframe with two gene name columns where each row contains one unique gene pair.


HenryWard/orthrus documentation built on June 2, 2023, 10:28 p.m.