View source: R/physical2genomic.R
physical2genomic | R Documentation |
physical2genomic function creates data structure of chosomsomes, within it, each chrosome has four data sets: 'data' contains
1. "data": a data table of window information, gene frequencies and genomic loci
2. "smooth": a vector of smooth function
3. "size": chromsome size
4. "length": chromosme length
physical2genomic(input,chr_stat,chr_length,window_size)
input |
Required: the input gff file. |
chr_stat |
Optional: an optional string argument containing a chromosome stat file which is a two-cloumn tab delimited file, |
chr_length |
Optional: an argument containing the chromsome length information, the default is 100 CM |
window_size |
Optional: an optional integer for windows size, the default is 100000 bp . |
A data structure of four data sets: "data", "smooth", "size" and "length"
a1 = physical2genomic("peanut.gff")
a2 = physical2genomic("peanut.gff","chr_siz.txt")
a3 = physical2genomic("peanut.gff","chr_siz.txt",150,200000)
a4 = physical2genomic("peanut.gff","chr_siz.txt","chr_len.txt",200000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.