Learn R Programming

infercnv (version 0.8.2)

subtract_ref_expr_from_obs: subtract_ref_expr_from_obs()

Description

Remove the average of the genes of the reference observations from all observations' expression. In the case there are multiple reference groupings, the averages are computed separately for each reference grouping, and the min|max of the averages are subtracted from the observation expression levels. Any values within the range of the min,max of the group are set to zero.

Usage

subtract_ref_expr_from_obs(infercnv_obj, inv_log = FALSE)

Arguments

infercnv_obj

infercnv_object

inv_log

mean values will be determined based on (2^x -1)

Value

infercnv_obj containing the reference subtracted values.

Details

Subtracting the mean of the reference expr distributions from the observed cells.