sortList {chromseq} | R Documentation |
Sort the chromosome list according to the chromosome number
Description
Sort the chromosome list according to the chromosome number
Usage
sortList(id = id, tex = tex, chrsig = "single")
Arguments
id |
The identifier list of the Fasta file made by subFasID |
tex |
A chromosome Fasta file in list format made by readToList function |
chrsig |
The number of characters of the chromosome, either "single" or "double", the previous means a single character following "chr" in the Fasta identifier, the latter means two characters following "chr" in the Fasta identifier. eg."chr1,chrX,chrY,chrM" is "single";"chr10,chr11" is "double". If you want to obtain both "single" and "double" sorted list of chromosome, try "single" and "double" respectively |
Value
The sorted chromosome Fasta file in list format.
Examples
data("tex")
data("text")
text<- replaceText(type = "text",input = text)
id <- subFasID(text = text)
tex2<- sortList(id=id,tex = tex,chrsig = "single")
tex3 <- sortList(id=id,tex = tex,chrsig = "double")
[Package chromseq version 0.1.3 Index]