add_some_read_statistic_from_bam_metacolumn | R Documentation |
Add some statistic of a tag about reads of a BAM file
add_some_read_statistic_from_bam_metacolumn(
input_table,
col_name,
galn,
tag,
stat
)
input_table |
A data.frame. The input master table. |
col_name |
A 1-length string. The name of the new column to add. |
galn |
A GAlignment object. The alingnment from where the tag is extracted. |
tag |
A 1-length string. The name of tag that is wanted to calculate the statistic 'stat'. The name must be exactly the same of one column name from 'mcols(galn)'. |
stat |
A function used to calculate the desired statistic. |
A data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.