read_library_annotation_file: Read library annotation file.

View source: R/library_annotations.R

read_library_annotation_fileR Documentation

Read library annotation file.

Description

Reads in a library annotation file to a LibraryAnnotations object.

Usage

read_library_annotation_file(
  filepath = NULL,
  id_column = 1,
  gene_column = 2,
  chr_column = NULL,
  chr_start_column = NULL,
  chr_end_column = NULL,
  file_separator = "\t",
  file_header = TRUE,
  strip_ids = FALSE,
  ...
)

Arguments

filepath

character string specifying a file path.

id_column

index of column containing unique sgRNA identifiers.

gene_column

index of column containing gene symbols.

chr_column

index of column containing chromosome name.

chr_start_column

index of column containing chromosome start position.

chr_end_column

index of column containing chromosome position.

file_separator

library annotation file separator.

file_header

whether library annotation file contains a header.

strip_ids

whether to make syntactically valid id names.

...

additional read.delim parameters.

Value

a data frame containing library annotations.


cancerit/RCRISPR documentation built on April 26, 2023, 10:12 p.m.