Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
treediff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
A compter du 1er avril, attention à vos pipelines :
Nouvelles limitations de Docker Hub
Show more breadcrumbs
SCALES
treediff
Commits
6146cadd
Commit
6146cadd
authored
1 year ago
by
Nathalie Vialaneix
Browse files
Options
Downloads
Patches
Plain Diff
correcting a minor problem in documentation + improved a bit wording
parent
550142e1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
R/HiC2Tree.R
+6
-6
6 additions, 6 deletions
R/HiC2Tree.R
man/HiC2Tree.Rd
+5
-4
5 additions, 4 deletions
man/HiC2Tree.Rd
with
11 additions
and
10 deletions
R/HiC2Tree.R
+
6
−
6
View file @
6146cadd
...
...
@@ -2,7 +2,7 @@
#'
#' @description This function converts Hi-C data into trees, using the adjclust
#' algorithm. It takes as input a file path vector, the format of the input
#' data, the bin
s
size of the Hi-C array, the chromosomes to be included in the
#' data, the bin size of the Hi-C array, the chromosomes to be included in the
#' analysis, and the number of replicates. It returns a list containing all
#' trees, metadata, index and treediff results.
#'
...
...
@@ -10,13 +10,14 @@
#' @param format A character vector indicating the format of the input data:
#' "tabular", "cooler", "juicer", or "HiC-Pro".
#' @param binsize An integer indicating the bin size of the Hi-C matrix.
#' @param index Index of the input data, only needed with the "HiC-Pro" format.
#' @param index A character indicating the path of the index for the input data.
#' Required (and used) only with the "HiC-Pro" format.
#' @param chromosomes A vector containing the chromosomes to be included in the
#' analysis.
#' @param replicates An integer indicating the number of replicates to be used
#' in treediff.
#'
#' @return A list containing:
#'
#' @return A list containing:
#' \itemize{
#' \item{trees}{ A list of all trees.}
#' \item{metadata}{ A data frame containing the following columns: names (name
...
...
@@ -48,7 +49,7 @@
#' format <- rep(rep("HiC-Pro", 6), nb_chr)
#' binsize <- 200000
#' files <- system.file("extdata", unlist(all_mat_chr), package = "treediff")
#' replicates <- c(3,3)
#' replicates <- c(3,
3)
#'
#' HiC2Tree(files, format, binsize, index, chromosomes, replicates)
#'
...
...
@@ -376,7 +377,6 @@ normalizeCount.HiCDOCDataSetList <- function(count_matrice){
#' @param mat A matrix containing the data to cluster. It should have columns
#' named 'index1', 'index2', 'chromosome and one column for each matrices.
#'
#' @return
#' @return A list containing the following objects:
#' \describe{
#' \item{trees}{ A list of hierarchical clustering trees, one for each cluster
...
...
This diff is collapsed.
Click to expand it.
man/HiC2Tree.Rd
+
5
−
4
View file @
6146cadd
...
...
@@ -14,7 +14,8 @@ HiC2Tree(files, format, binsize = NULL, index = NULL, chromosomes, replicates)
\item{binsize}{An integer indicating the bin size of the Hi-C matrix.}
\item{index}{Index of the input data, only needed with the "HiC-Pro" format.}
\item{index}{A character indicating the path of the index for the input data.
Required (and used) only with the "HiC-Pro" format.}
\item{chromosomes}{A vector containing the chromosomes to be included in the
analysis.}
...
...
@@ -23,7 +24,7 @@ analysis.}
in treediff.}
}
\value{
A list containing:
A list containing:
\itemize{
\item{trees}{ A list of all trees.}
\item{metadata}{ A data frame containing the following columns: names (name
...
...
@@ -36,7 +37,7 @@ A list containing:
\description{
This function converts Hi-C data into trees, using the adjclust
algorithm. It takes as input a file path vector, the format of the input
data, the bin
s
size of the Hi-C array, the chromosomes to be included in the
data, the bin size of the Hi-C array, the chromosomes to be included in the
analysis, and the number of replicates. It returns a list containing all
trees, metadata, index and treediff results.
}
...
...
@@ -61,7 +62,7 @@ package = "treediff")
format <- rep(rep("HiC-Pro", 6), nb_chr)
binsize <- 200000
files <- system.file("extdata", unlist(all_mat_chr), package = "treediff")
replicates <- c(3,3)
replicates <- c(3,
3)
HiC2Tree(files, format, binsize, index, chromosomes, replicates)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment