process_bin: Given a groups of sequences that were binned together, throw...

Description Usage Arguments

View source: R/process_bin.R

Description

The output will be a list with a DNAString. The name of the DNAString in the list will be the bin name and will contain information about how many sequences were used to construct the consensus. See construct_consensus.

Usage

1
2
3
4
5
6
process_bin(seqs, classification_technique = "infovar_balance",
  classification_params = list(threshold = 1, start_threshold = 0.02,
  max_sequences = 100), alignment_technique = "muscle",
  alignment_params = list(),
  consensus_technique = "Biostrings::consensusString",
  consensus_params = list(), remove_gaps = TRUE, strip_uids = FALSE)

Arguments

seqs

The sequences that were binned together

classification_technique

The technique to use to search for mislabelled sequences

classification_params

The parameters for the classification technique

alignment_technique

The alignment technique to use

alignment_params

The alignment parameters to use

consensus_technique

The technique to use when generating the consensus sequence

consensus_params

The parameters for the consensus generator

remove_gaps

If set to TRUE (the default, then gaps will be removed from the consensus sequences)

strip_uids

Remove the unique identifiers from the sequence. It is not intelligent. The names will be split on '_' and the first and last pieces will be kept.


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