add_contig_ctypes: add_contig_ctypes

View source: R/build.contigs.R

add_contig_ctypesR Documentation

add_contig_ctypes

Description

Given data.table of contig alignments, add c_type and c_spec labels based on reference sequence

Usage

add_contig_ctypes(
  calns,
  refseq.fn = system.file("extdata", "reference.sequences.rds", package = "loosends"),
  remove.decoy = FALSE,
  verbose = FALSE
)

Arguments

calns

(data.table of contig alignments)

refseq.fn

(path to key of reference sequences)

remove.decoy

(logical) remove alignments to decoy sequences? default FALSE

verbose

(logical) default FALSE

Value

data.table with new columns c_type and c_spec


mskilab/loosends documentation built on Aug. 24, 2023, 8:08 a.m.