createRepresentativeAccNum
Source:R/CHANGED-pre-msa-tree.R
, R/pre-msa-tree.R
createRepresentativeAccNum.Rd
Function to generate a vector of one Accession number per distinct observation from 'reduced' column
Function to generate a vector of one Accession number per distinct observation from 'reduced' column
Usage
createRepresentativeAccNum(
prot_data,
reduced = "Lineage",
accnum_col = "AccNum"
)
createRepresentativeAccNum(
prot_data,
reduced = "Lineage",
accnum_col = "AccNum"
)
Value
A character vector containing one Accession number per distinct observation from the specified reduced column.
A character vector containing representative accession numbers, one for each distinct observation in the specified 'reduced' column.
Examples
if (FALSE) { # \dontrun{
createRepresentativeAccNum(prot)
} # }
if (FALSE) { # \dontrun{
# Example usage with a data frame called `protein_data`
createRepresentativeAccNum <- RepresentativeAccNums(prot_data = protein_data,
reduced = "Lineage",
accnum_col = "AccNum")
representative_accessions
} # }