construct_consensus: Constructs a consensus string using the specified technique

Description Usage Arguments

View source: R/consensus_string.R

Description

This function is specifically designed to work in the situation of binning sequences based on PIDS, so it handles sequence names in a specific way. It assumes that the name of the first sequence is the name that needs to be given to the consensus sequence. Furthermore, it will append and underscore and the number of sequences that were used to construct the consensus to the end of this name.

Usage

1
2
construct_consensus(seqs, technique = "Biostrings::consensusString",
  params = list())

Arguments

seqs

The aligned sequences to construct a consensus of

technique

The technique to use

params

Extra parameters passed to the consensus string construction technique


philliplab/MotifBinner documentation built on Sept. 2, 2020, 11:41 a.m.