Skip to contents

Vectorised if_else based on strandedness

Usage

if_reverse(strand, reverse, forward)

Arguments

strand

vector with strandedness information

reverse

value to use for reverse elements

forward

value to use for forward elements

Value

vector with values based on strandedness