Opt_MeanSD_RTAM1: Optimizing Function in RTAM1

View source: R/Opt_MeanSD_RTAM1.R

Opt_MeanSD_RTAM1R Documentation

Optimizing Function in RTAM1

Description

An auxiliary fucntion to detect the optimal number of top-expressed genes for scaling a data-set using RTAM1

Usage

Opt_MeanSD_RTAM1(Normalized_log, Order_Matrix, nGene, Min_nGene, gene_cutoff)

Arguments

Normalized_log

the matrix of Log2(.+1)-normalized data

Order_Matrix

the matrix of original order of gene expressions per cell

nGene

number of expressed genes

Min_nGene

minimum number of expressed genes across entire population

gene_cutoff

the cutoff to calculate the summation of top (nonzero) gene expressions

Value

The output is the CV (sd/mean) of RTAM1 normalization for given nGene, Min_nGene and gene_cutoff

Note

Please refer to the reference and supplemental materials described in the README for additional details.

Author(s)

Ali Mahdipour-Shirayeh, Princess Margaret Cancer Centre, University of Toronto

Examples

CV_for_RTAM1 <- Opt_MeanSD_RTAM1(Normalized_log=normalized_data, Order_Matrix, nGene, Min_nGene=250, gene_cutoff=250)


alimahdipour/sciCNV documentation built on Oct. 16, 2022, 12:56 p.m.