Description Usage Arguments Examples
To get mapping rates in all pairs of haplotypes and produce summerized figure
1 2 | getMappingRatesFromPairs(ed_table, hap_names = c("apd", "cox", "dbb", "mann",
"mcf", "pgf", "qbl", "ssto"), read_length = 50)
|
ed_table |
a file with a table of editing distances generated from a function 'EDframBams' |
hap_names |
haplotype names matching to column names of the input file 'ed_table' (eg. c("apd", "cox", "dbb", "mann", "mcf", "pgf", "qbl", "ssto") ) |
read_length |
read length in bam files |
1 2 3 4 5 | ed_table=system.file("extdata", "example_ed_table.txt", package = "AltHapAlignR")
ed_table <- read.table(ed_table, sep="\t", header=TRUE)
output <- getMappingRatesFromPairs(ed_table,
hap_names=c("apd", "cox", "dbb", "mann", "mcf", "pgf", "qbl", "ssto"),
read_length=50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.