assymetry: Normalised log assymetry.

Description Usage Arguments Details Value

View source: R/infoanalysis.R

Description

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

Usage

1
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".

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).

Value

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


tcR documentation built on July 2, 2020, 3:18 a.m.