guess_lib_from_file: guess_lib_from_file

View source: R/functions_load_STAR_RNA_counts.R

guess_lib_from_fileR Documentation

guess_lib_from_file

Description

guess_lib_from_file

Usage

guess_lib_from_file(
  f,
  show_plots = FALSE,
  miss_cutoff = 1.2,
  hit_cutoff = 1.2,
  split_cutoff = 1.5
)

Arguments

f
show_plots
miss_cutoff
hit_cutoff
split_cutoff

Examples

files = dir("inst/extdata", pattern = "^test_[0-9].ReadsPerGene.out.tab", full = TRUE)
#unstranded
guess_lib_from_file(files[1], show_plots = TRUE)
guess_lib_from_file(files[2], show_plots = TRUE)
guess_lib_from_file(files[3], show_plots = TRUE)

#second strand
file.second_strand = dir("inst/extdata", pattern = "test_second.ReadsPerGene.out.tab", full = TRUE)
guess_lib_from_file(file.second_strand[1], show_plots = TRUE)

jrboyd/ssvRecipes documentation built on May 22, 2022, 7:07 a.m.