-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot_cgr.Rd
More file actions
34 lines (28 loc) · 998 Bytes
/
plot_cgr.Rd
File metadata and controls
34 lines (28 loc) · 998 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cgrplot.R
\name{plot_cgr}
\alias{plot_cgr}
\title{Plot CGR with customization options}
\usage{
plot_cgr(seq_index, main = NULL, cex = 0.2, pch = 4, col = "black", ...)
}
\arguments{
\item{seq_index}{Integer. The index of the sequence to plot.}
\item{main}{Character. Main title for the plot. If NULL, uses sequence name.}
\item{cex}{Numeric. Point size (default 0.2 for dense sequences).}
\item{pch}{Integer. Point character type (default 4 for crosses).}
\item{col}{Character. Color for points (default "black").}
\item{...}{Additional arguments passed to plot().}
}
\value{
NULL. Creates a plot as a side effect.
}
\description{
A convenience wrapper function to create a CGR plot with sensible defaults.
}
\examples{
assign("fasta_filtered", list(seq1 = "ATCGATCGATCGATCGATCG"), envir = .GlobalEnv)
plot_cgr(1)
plot_cgr(1, main = "My Sequence", col = "blue", cex = 0.3)
rm(fasta_filtered, envir = .GlobalEnv)
}