count_footprints | R Documentation |

This function aggregates RPF counts for a given transcript, codon position, and 5' and 3' digest lengths (which correspond to an RPF length and frame).

count_footprints( bam_dat, regression_data, which_column = "count", features = c("transcript", "cod_idx", "d5", "d3"), integer_counts = T )

`bam_dat` |
data frame; output from 'load_bam' |

`regression_data` |
data frame; output from 'init_data' |

`which_column` |
character; name of column containing counts in 'bam_dat' |

`features` |
character vector; terms to match between 'regression_data' and 'bam_dat' |

`integer_counts` |
logical; whether to round counts to integers |

A numeric vector of RPF counts corresponding to rows in 'regression_data'

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.