HapPart: HapPart (Haplotype Partition) stores the haplotype...

Description Usage Arguments Value Methods (by generic) Slots

View source: R/partitionLongreads.R

Description

HapPart (Haplotype Partition) stores the haplotype information from longread clustering.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
HapPart(readNames, snpPos)

## S3 method for class 'HapPart'
mcoef(x)

## S3 method for class 'HapPart'
PWM(x)

## S3 method for class 'HapPart'
OC(x)

## S3 method for class 'HapPart'
SCR(x)

## S3 method for class 'HapPart'
K(x)

## S3 method for class 'HapPart'
SQS(x)

## S3 method for class 'HapPart'
CLS(x)

## S3 method for class 'HapPart'
SNP(x)

## S3 method for class 'HapPart'
PRT(x)

## S3 method for class 'HapPart'
HTR(x)

Arguments

readNames

The names of reads in each cluster.

snpPos

SNP positions used for clustering.

x

A HapPart object.

Value

HapPart object.

Methods (by generic)

Slots

readNames

The names of reads in each cluster.

snpPos

SNP positions used for clustering.

mcoef

membership coefficient. Score for each read for belonging to its cluster. Based on the sum of probabilities of a PWM of the haplotype sequences.

tree

The resulting tree from hclust.

scores

The same scores as in mcoef, but for all clusters.

mats

PWM matrices of the haplotype sequences.

classification

... TODO


DKMS-LSL/dr2s documentation built on March 14, 2021, 2:46 p.m.