annotate_cna: Annotate CNAs with gene information

Description Usage Arguments Details Value Author(s)

View source: R/annotate_cna.R

Description

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

Usage

1
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 Nov. 23, 2019, 2:14 a.m.