R/parse_GenomeMap.R

Defines functions parse_GenomeMap

# Function to parse the tab format from Uniprot
parse_GenomeMap <- function(genome, column, split = " *; *") {
  genomeMap <- strsplit(x = genome[, column], split = split)
  names(genomeMap) <- rownames(genome)
  return(genomeMap)
}

Try the CALANGO package in your browser

Any scripts or data that you put into this service are public.

CALANGO documentation built on April 26, 2023, 5:13 p.m.