Description Usage Arguments Value Methods (by generic) Slots
View source: R/partitionLongreads.R
HapPart (Haplotype Partition) stores the haplotype information from longread clustering.
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)
|
readNames |
The names of reads in each cluster. |
snpPos |
SNP positions used for clustering. |
x |
A |
HapPart object.
mcoef
: The membership coefficient in the assigned clade.
PWM
: Get the Position Weight Matrix
OC
: The original clusters from hclust
.
SCR
: The membership scores for each read in each cluster.
K
: The total number of polymorphic positions used.
SQS
: Get the consensus sequences of the haplotypes.
CLS
: Get the classification of the haplotype partitioning.
SNP
: Get the SNP positions.
PRT
: The haplotype assignment as a character vector <A>, <B>, ... for
each read.
HTR
: The cluster tree produced by hclust
.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.