readLengthTable {ORFik} | R Documentation

## Make table of readlengths

### Description

Summarizing all libraries in experiment, make a table of proportion of read lengths.

### Usage

    readLengthTable(df, output.dir = NULL, type = "ofst", BPPARAM = bpparam())

### Arguments

`df` | an ORFik `experiment`
`output.dir` | NULL or character path, default: NULL, plot not saved to disc. If defined saves plot to that directory with the name "./readLengths.csv".
`type` | character, default: "ofst". Type of library: either "default", usually bam format (the one you gave to experiment), "pshifted" pshifted reads, "ofst", "bed", "bedo" optimized bed, or "wig"
`BPPARAM` | a core param, default: single thread: `BiocParallel::SerialParam()`. Set to `BiocParallel::bpparam()` to use multicore. Be aware, this uses a lot of extra ram (40GB+) for larger human samples!

### Value

a data.table object of the the read length data with columns: `c("sample", "sample_id", "read length", "counts", "counts_per_sample", "perc_of_counts_per_sample")`

[Package ORFik version 1.14.7 Index]