BbcSE is a constructor for BbcSE.

BbcSE(
  counts = matrix(0, 0, 0),
  granges = rep(GRanges(seqnames = "foobar", ranges = 0:0), nrow(counts)),
  aln_metrics = matrix(0, 0, 0),
  ...
)

Arguments

counts

A count matrix with sample names as column names and gene names as row names.

granges

GRanges or GRangesList object. Optional.

aln_metrics

Matrix containing alignment metrics. Optional.

...

Passed to SummarizedExperiment constructor.

Value

A BbcSE object (extension of RangedSummarizedExperiment).

Details

If GRanges object is provided, the names must match the rownames of the counts matrix. The output object will show only the intersected genes between the the counts and the GRanges.