replaceText: Replace tedious chromosome identifier into simple format

Description Usage Arguments Value Author(s) Examples

View source: R/replaceText.R

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

1
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

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

chromseq documentation built on July 1, 2020, 10:24 p.m.