Description Usage Arguments Details Value Examples
This generic function splits the data into subsites, if GFF/GTF information is present or if positions are defined accordingly.
1 2 3 | ## S4 method for signature 'GENOME'
splitting.data(object,subsites=FALSE,positions=FALSE,type=1,
whole.data=TRUE)
|
object |
an object of class |
positions |
list of positions |
subsites |
|
type |
|
whole.data |
Scan the whole data by concatenating the regions. If FALSE, the regions are scanned seperately |
Note, if whole.data=FALSE
data with n.biallelic.sites==0
should be removed.
The return value is a modified object of class "GENOME"
.
1 2 3 4 5 6 7 8 | # GENOME.class <- readData("\home\Alignments")
# GENOME.class
# GENOME.class.split <- splitting.data(GENOME.class,subsites="exon")
# GENOME.class.split@region.names
# GENOME.class.split <- splitting.data(GENOME.class,positions=list(1:7,8:12))
# GENOME.class.split <- splitting.data(GENOME.class,
# positions=list(2000:3000,12000:13000),type=2)
# GENOME.class.split
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.