Skip to contents

Internal function that returns the log2 of the normalized counts plus 1, used by plot_pca, plot_explained_variance and plot_mds. The normalized counts are the raw counts divided by the effective library sizes set by normalize_data ("cpm", "tmm" or "control"), so the object must be normalized; the log and the + 1 are display transformations. On the raw counts the first principal component would mostly follow the sequencing depth of the samples. Barcodes with no reads in any sample are left out.

Usage

log_normalized_counts(screenR_Object, what = "This function")

Arguments

screenR_Object

The ScreenR object obtained using create_screenr_object.

what

What needs the normalized counts, for the error message.

Value

A numeric matrix with one row for each barcode and one column for each sample.