getDifference: Calculation of the extent of differences between two profiles

View source: R/quantifydiff_functions.R

getDifferenceR Documentation

Calculation of the extent of differences between two profiles

Description

This function computes the % genome difference

Usage

getDifference(events, events_2, method = "non-normalized")

Arguments

events

segment table with absolute copy numbers of one sample

events_2

segment table with absolute copy numbers of the other sample

method

method used for calculating difference. Options are "normalized" or "non-normalized" by ploidy status. Default is "non-normalized"

Value

% genome difference between two copy-number profiles

Examples

diff<-getDifference(events=cells_segcn[cells_segcn$sample=="OVKATE",],
    events_2=cells_segcn[cells_segcn$sample=="OV-90",])

macintyrelab/CNpare documentation built on April 15, 2022, 4:46 a.m.