construct_haplotypes_unique: Given a set of sequences, extract the haplotypes using the...

Description Usage Arguments Value

View source: R/construct_haplotypes.R

Description

Each unique sequence will be made a haplotype. The names of all the identical sequences will be added to the haplotype as well as the number of copies of this sequence.

Usage

1
construct_haplotypes_unique(seq_data, cluster_params, n_header_letters)

Arguments

seq_data

The input data

cluster_params

A list of input parameters to the clustering algorithm.

n_header_letters

The number of letters to take from a FASTA header of one of the sequences and prepend to the haplotype name.

Value

A list of objects of class Haplotype-class


philliplab/ViralHaplotyper documentation built on May 25, 2019, 5:05 a.m.