Description Arguments Value Author(s) Examples
View source: R/getCrisprGuides.R
Function checks whether a guideRNA can be found that overlaps given SNP. Returns sequence of the guideRNA with the variant marked with the lowercase letters. When multiple guideRNAs are possible for given SNP, guideRNA with the variant closest to the PAM site is being selected.
df |
A data frame, preferably out from chromosomeVis. |
genome |
A object of the BSGenome, by default BSgenome.Hsapiens.UCSC.hg19. |
gsize |
Prefered size of the guideRNA, by default, standard 23 is used. |
PAM |
Prefered Protospacer Adjecent Motif "PAM", short motif that has to be found on the 5' end of the guideRNA, by default, Cas9 is used "GG". |
PAM_rev |
Prefered Protospacer Adjecent Motif "PAM", short motif that has to be found on the reverse strand, by default, Cas9 is used "CC". This is checked only when no guideRNA is found on the forward strand. |
character vector |
Vector of guideRNAs, when no guideRNA was found for the forward strand, reverse strand is checked, when no guideRNA is found NA is returned. |
Kornel Labun
1 2 3 4 | file <- system.file("extdata", "RareVariants_CoriellIndex_S1.txt",
package = "RareVariantVis")
df <- read.delim(file, stringsAsFactors = FALSE)
getCrisprGuides(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.