Description Usage Arguments Details Value Note Author(s) References See Also Examples
Read in short arachne reads
1 | read.short.arachne.tags(filename, fix.chromosome.names = F)
|
filename |
filename |
fix.chromosome.names |
Fix chromosome names |
Not necessary
A list like structure
No Notes
Peter Kharchenko
spp by Peter Kharchenko
Nothing to see here
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## Not run:
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (filename, fix.chromosome.names = F)
{
tl <- lapply(.Call("read_arachne", path.expand(filename)),
function(d) {
xo <- order(abs(d$t))
d$t <- d$t[xo]
d$n <- d$n[xo]
return(d)
})
if (fix.chromosome.names) {
names(tl) <- gsub("\.fa", "", names(tl))
}
return(list(tags = lapply(tl, function(d) d$t), quality = lapply(tl,
function(d) d$n)))
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.