Description Usage Arguments Examples
Plot of flanking sequence of all C>X mutations or C>X mutations within a chromosome/chromosome arm.
1 |
plot.data |
An object as returned by the 'mutSNP.input' function. |
sample |
Name of sample [default: sample]. |
chr |
Chromosome for which the plot will be generated [default: 1:24]. |
arm |
Chromosome arm for which the plot will be generated. Can be p or q. [default: NULL]. |
color |
Colour to show the bases ("A", "C", "G", "T"). |
k |
'K'-mer bases of flanking sequence of mutated base [default: the same as 'mutSNP.input' function]. |
1 2 3 4 5 6 7 8 9 10 11 12 | library(KataegisPortal)
library(BSgenome)
library(BSgenome.Hsapiens.UCSC.hg19)
mutData <- "examples/mutData.txt"
mutData <- read.table(mutData, header = TRUE,sep = "\t",as.is = TRUE)
mutSNP = mutSNP.input(mut.data = mutData,
chr = "chr",
pos = "pos",
ref = "ref",
alt = "alt",
build = "hg19")
baseSpe.plot(plot.data = mutSNP, sample="Test", chr = "chr2",arm="q")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.