gene_info | R Documentation |
Computes information at the gene level that can be used to annotate the results later (e.g. CNA calls).
gene_info(ge_df, genes_coord, subset_cells = 10000)
ge_df |
a data.frame with gene expression
information across cells. E.g. after |
genes_coord |
either a file name or a data.frame with coordinates and gene names. |
subset_cells |
the maximum number of cells to use. |
If the input data.frame has a symbol column, 'genes_coord' is used to add the coordinates, later used to overlap with region/CNA calls. If the input data.frame has coordinates, 'genes_coord' is used to retrieve the gene name. In both cases a row in the input data.frame must be a gene, not a bin.
It's better to run this function after normalization (norm_ge
but before binning (bin_genes
).
a data.frame with summary stats for each gene.
Jean Monlong
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.