get_diff_df: Get Dissimilarity from a pairwise common data frame

Description Usage Arguments Details Value

View source: R/scMeth_functions.R

Description

Get Dissimilarity from a pairwise common data frame

Usage

1

Arguments

df

A dataframe containing the pairwise common CpGs. Required.

Details

Typically this function is not used by the user. It is called by create_pairwise_master when calc_diff is TRUE.

The input dataframe requires four columns in the specific order: 1. Chromosome 2. Start 3. Name of the 1st comparitor (e.g. cell1) 4. Name of the 2nd comparitor (e.g. cell2)

Value

A 1-row dataframe containing two samples compared, the total number of pairwise CpGs, and the pairwise dissimilarity


hui-tony-zk/PDclust documentation built on Aug. 7, 2018, 7:03 p.m.