| replaceText | R Documentation |
Make the chromosome id starting with ">" into simple format like ">chr:1091194-1093520...",this is helpful for sorting the chromosome according to their number
replaceText(type = "text", input = input)
type |
This can be either "text" or "list", The previous is a large character containing each line of the Fasta file, the latter is a list in which each element contains a unit of Fasta file |
input |
The large character or list containing ids that need to be simplified |
The large character or list of Chromosome Fasta file with simplified id.
Shaoqian Ma
data("id")
simpleID<- replaceText(type = "text",input = id)