View source: R/buildFeatureVectorForScoringBulge.R
buildFeatureVectorForScoringBulge | R Documentation |
Build Feature Vector For Scoring Offtargets with Bulge
buildFeatureVectorForScoringBulge(
alns,
gRNA.size = 20,
canonical.PAM = "NGG",
subPAM.start = 2,
subPAM.end = 3,
insertion.symbol = "^",
PAM.size = 3,
PAM.location = "3prime"
)
alns |
alignments, output from getAlnWithBulge (see the example below) |
gRNA.size |
Size of the gRNA, default to 20L |
canonical.PAM |
PAM sequence, default to NGG |
subPAM.start |
start of the subPAM, default to 2L for NGG |
subPAM.end |
End of the subPAM, default to 3L for NGG |
insertion.symbol |
Symbol used to indicate bulge in DNA Default to ^ |
PAM.size |
Size of the PAM, default to 3L for NGG |
PAM.location |
The location of the PAM, default to 3prime |
Lihua Julie Zhu
if (interactive())
{
library(BSgenome.Hsapiens.UCSC.hg19)
library(GUIDEseq)
peaks.f <- system.file("extdata", "T2plus100OffTargets.bed",
package = "GUIDEseq")
gRNA <- "GACCCCCTCCACCCCGCCTC"
temp <- GUIDEseq:::getAlnWithBulge(gRNA, gRNA.name = "T2",
peaks = peaks.f, BSgenomeName = Hsapiens,
peaks.withHeader = TRUE)
fv <- buildFeatureVectorForScoringBulge(temp$aln.indel)
fv$featureVectors
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.