get_ritpms | R Documentation |
This function takes in a sparse matrix, and then samples a single value from each column, with sampling weights within each column equal to the columns values
get_ritpms(psites, anno)
psites |
A GRanges object containing RPFs |
anno |
An annotation object with a gene-transcript table |
a vector of normalized footprint densities
data(chr22_anno)
data(rpfs)
data(offsets_df)
data(ms_df)
psites <- get_psite_gr(rpfs, offsets_df, chr22_anno)
# now, use Stan to estimate normalized p-site densities for our data
ritpms <- get_ritpms(psites, chr22_anno)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.