create_model_masks: Create model masks

Description Usage Arguments Value

View source: R/transcript_models_build_helpers.R

Description

Function for generating masks

Usage

1
2
3
4
5
6
create_model_masks(
  transcript_models,
  strand,
  mask_start_bins = NULL,
  mask_end_bins = NULL
)

Arguments

transcript_models

A list of matricies containing transcript models.

strand

a vector containing one entry per group of transcript models indicating the strand.

mask_start_bins

A numeric vertor with length two which giving the number of bins should be masked near the start of a transcript. The first integer is the number of bins will be masked inside the transcript, while the second interger is the number outside the transcript. Default c(0, 0).

mask_end_bins

A numeric vertor with length two which giving the number of bins should be masked near the end of a transcript. The first integer is the number of bins will be masked inside the transcript, while the second interger is the number outside the transcript. Default c(0, 0).

Value

A list of vectors, where each vector indicates the bins that should be masked


ndukler/tuSelecter2 documentation built on Aug. 4, 2020, 1 p.m.