simplot: simplot

Description Usage Arguments Value Author(s) Examples

View source: R/simplot.R

Description

Sequence similarity plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
simplot(
  file,
  query,
  window = 200,
  step = 20,
  group = FALSE,
  id,
  sep,
  sd = FALSE
)

Arguments

file

alignment fast file

query

query sequence

window

sliding window size (bp)

step

step size to slide the window (bp)

group

whether grouping sequence

id

position to extract id for grouping; only works if group = TRUE

sep

separator to split sequence name; only works if group = TRUE

sd

whether display standard deviation of similarity among each group; only works if group=TRUE

Value

ggplot object

Author(s)

guangchuang yu

Examples

1
2
fas <- system.file("extdata/GVariation/sample_alignment.fa", package="ggmsa")
simplot(fas, 'CF_YL21')

ggmsa documentation built on Aug. 3, 2021, 9:06 a.m.