logNorm: logNorm()

View source: R/logNorm.R

logNormR Documentation

logNorm()

Description

Computes a log transformation of the selected assay

Usage

logNorm(
  scCNA,
  transform = c("log", "log2", "log10", "log1p"),
  assay = "segment_ratios",
  name = "logr"
)

Arguments

scCNA

scCNA object.

transform

String specifying the transformation to apply to the selected assay.

assay

String with the name of the assay to pull data from to run the segmentation.

name

String with the name for the target slot for the resulting transformed counts.

Value

A data frame with log transformed counts inside the assay slot.

Examples

copykit_obj <- copykit_example()
copykit_obj <- logNorm(copykit_obj)

navinlabcode/copykit documentation built on Sept. 22, 2023, 9:16 a.m.