Description Usage Arguments Value Author(s) See Also Examples
This function determines the total number of cutsites found in the genome by counting the number of cutsites from a list of cutsites made from previous function find_cuts
. Output can serve as an input for functions.
1 | number_cutsites(cutsite_list)
|
cutsite_list |
List containing the per-chromosome/scaffold cutsite position vectors. Argument is designed to be compatible with the output of the |
Returns a single numeric value, the total number of cutsites in the provided genome.
Kira Long
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Generate prior data
myfasta <- system.file("extdata",
"test_geno.fa.gz",
package = "RADseqTools")
mySeqs <- process_fasta(myfasta, 10000)
myEnz <- 'CTGCAG'
cutPos <- find_cuts(mySeqs, myEnz)
#
# For this function
#
#Calculate number of cutsites in cutPos
nCuts <- number_cutsites(cutPos)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.