tidybulk_SAM_BAM {tidybulk}R Documentation

Creates a 'tt' object from a list of file names of BAM/SAM

Description

tidybulk_SAM_BAM() creates a 'tt' object from a 'tbl' formatted as | <SAMPLE> | <TRANSCRIPT> | <COUNT> | <...> |

Usage

tidybulk_SAM_BAM(file_names, genome = "hg38", ...)

Arguments

file_names

A character vector

genome

A character string

...

Further parameters passed to the function Rsubread::featureCounts

Details

Maturing lifecycle

This function is based on FeatureCounts package. This function created a tidybulk object and is useful if you want to avoid to specify .sample, .transcript and .abundance arguments all the times. The tidybulk object have an attribute called tt_internals where these three arguments are stored as metadata. They can be extracted as attr(<object>, "tt_internals").

Value

A 'tidybulk' object


[Package tidybulk version 0.99.23 Index]