View source: R/shift_footprints_helpers.R
shifts_load | R Documentation |
When you p-shift using the function shiftFootprintsByExperiment, you will get a list of shifts per library. To automatically load them, you can use this function. Defaults to loading pshifts, if you made a-sites or e-sites, change the path argument to ashifted/eshifted folder instead.
shifts_load(
df,
path = file.path(libFolder(df), "pshifted", "shifting_table.rds")
)
df |
an ORFik |
path |
path, default file.path(libFolder(df), "pshifted", "shifting_table.rds"). Path to .rds file containing the shifts as a list, one list element per shifted bam file. |
a list of the shifts, one list element per shifted bam file.
Other pshifting:
changePointAnalysis()
,
detectRibosomeShifts()
,
shiftFootprints()
,
shiftFootprintsByExperiment()
,
shiftPlots()
,
shifts_save()
df <- ORFik.template.experiment()
# subset on Ribo-seq
df <- df[df$libtype == "RFP",]
#shiftFootprintsByExperiment(df)
#shifts_load(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.