replaceText {chromseq}R Documentation

Replace tedious chromosome identifier into simple format

Description

Make the chromosome id starting with ">" into simple format like ">chr:1091194-1093520...",this is helpful for sorting the chromosome according to their number

Usage

replaceText(type = "text", input = input)

Arguments

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

Value

The large character or list of Chromosome Fasta file with simplified id.

Author(s)

Shaoqian Ma

Examples

data("id")
simpleID<- replaceText(type = "text",input = id)

[Package chromseq version 0.1.3 Index]