rm_to_bed: Convert RM table to BED format

Description Usage Arguments Value

View source: R/IO.r

Description

Convert RM table to BED format

Usage

1
2
3
4
5
rm_to_bed(
  rm_table,
  name = c("tname", "tclass", "ID"),
  score = c("p_sub", "p_del", "p_ins", "score")
)

Arguments

rm_table

a repeat masker outout table, as returend by read_rm

score

which column to use for the bed "score" attribute (one of p_sub (default), p_del, p_ins or score).

Value

A 6 column with one row per alignmened segment (i.e. possibly multiple rows per TE)


dwinter/repeatR documentation built on April 2, 2021, 7:31 p.m.