Learn R Programming

tcR (version 2.2.4)

assymetry: Normalised log assymetry.

Description

Compute the value of the normalised log assymetry measure for the given data.frames of the counts of shared clones.

Usage

assymetry(.alpha, .beta = NULL, .by = "CDR3.nucleotide.sequence")

Arguments

.alpha

First mitcr data.frame or a list with data.frames.

.beta

Second mitcr data.frame or NULL if .alpha is a list.

.by

Which column use to merge. See "Details".

Value

Value of the normalised log assymetry measure for the given data.frames.

Details

Merge two data frames by the given column and compute value Sum(Log((Percentage for shared clone S from alpha) / (Percentage for shared clone S from beta))) / (# of shared clones).