Description Usage Arguments Value Examples
View source: R/partitionLongreads.R
Cluster a SNP matrix into haplotype groups
1 2 3 4 5 6 7 8 9 10 11 12 | partitionReads(
x,
distAlleles = 2,
selectAllelesBy = "count",
threshold = 0.2,
clMethod = "ward.D",
minLen = 0.5,
skipGapFreq = 0.8,
deepSplit = 1,
minClusterSize = 15,
...
)
|
x |
A |
distAlleles |
Number of distinct alleles in the sample. |
threshold |
Only gaps above threshold will be treated as gaps. Removes noisy positions in longreads. |
clMethod |
clustering method passed to |
minLen |
Minimal fraction of SNPs that need to be covered by a read to be used |
skipGapFreq |
Skip a badly behaved polymorphic position if the
frequency of gaps within a haplotype group exceeds |
deepSplit |
sensitivity parameter passed to
|
... |
Additional parameters. |
sortBy |
sort by "distance" or "count". See
|
A HapPart
object.
1 | ###
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.