repnames: Returns transposable element families from scSet

Description Usage Arguments Value See Also Examples

View source: R/accessors.R

Description

Retrieves all available families in the provided scSet that match defined characteristics.

Usage

1

Arguments

scSet

scSet object to query.

pattern

Regular expression. Returns only families that match pattern.

fixed

Logical. If TRUE, pattern is matched as is.

Value

Character vector.

See Also

createscSet()

Examples

1
2
3
4
5
6
7
8
## Not run: 
gs <- createscSet(genome = Hsapiens, tes = te_annotation_df)
families <- names(gs, pattern = 'LTR12') # returns all families containing 'LTR12' in their name.

# Using a pattern not found in scSet will suggest similar hits, e.g.:
names(gs, pattern = 'LTR5HS')

## End(Not run)

tanaylab/repsc documentation built on Jan. 9, 2021, 9:39 a.m.