testFASTA: Generate test FASTAs or sequences

View source: R/testFASTA.R

testFASTAR Documentation

Generate test FASTAs or sequences

Description

If out.fasta is TRUE a dummy fasta file will be written If out.fasta is FALSE a test df of seqs will be created

Usage

testFASTA(file_name, seqlength, DNA_prob, no_seqs, out.fasta, loc)

Arguments

file_name

name of FASTA file to write if out.fasta is TRUE

seqlength

vector of length 2 specifying the min and max seq length range

DNA_prob

a vector of length 4 specifying the probabilities of nucleotides A, T, G, and C

no_seqs

the number of sequences to simulate

out.fasta

whether to write a FASTA file or output a df of seqs

loc

name of locus

Value

A matrix of the infile


jacobgolan/enrichR documentation built on April 11, 2022, 12:05 a.m.