annotate_cna: Annotate CNAs with gene information

View source: R/annotate_cna.R

annotate_cnaR Documentation

Annotate CNAs with gene information

Description

Add columns with the names of the genes in the region, total and expressed genes only.

Usage

annotate_cna(cna_df, gene_info, cancer_genes = NULL)

Arguments

cna_df

a data.frame with CNA calls. E.g. data.frames created by call_cna_* functions.

gene_info

a data.frame with gene information created by the gene_info function

cancer_genes

a vector with the names of cancer genes. For an additional column. Use if non-NULL.

Details

The subset of "expressed" genes is made out of genes with non-zero expression in at least 10 expression higher than 0.5.

Value

the input data.frame with two new columns with all/expressed genes.

Author(s)

Jean Monlong


jmonlong/scCNAutils documentation built on May 3, 2022, 4:34 a.m.