View source: R/aux_convertToTargetRegions.R
convertToTargetRegions | R Documentation |
Convert a set of input regions to the overlapping regions in the target set.
convertToTargetRegions(
queryRegions,
targetRegions,
minOverlap = 0.4,
overlapType = "any",
returnCorrespondence = FALSE,
verbose = TRUE
)
queryRegions |
List of regions to convert (normally the query region set). |
targetRegions |
List of regions in the target set (normally the database). |
minOverlap |
Minimum overlap to consider (in either direction, default: 0.40). |
overlapType |
Parameter for |
returnCorrespondence |
Returns a table containing the matches, or only a list of overlapping regions (default: FALSE). |
verbose |
Print the number of regions selected? |
IDs of the regions in the "target regions" overlapping with the query regions.
getDbRegionsLoc
.
See the package vignette for examples and more details:
vignette("RcisTarget")
## Not run:
## To apply on a list of regionSets:
regionSets_db <- lapply(regionSets, function(x)
convertToTargetRegions(queryRegions=x, targetRegions=dbRegionsLoc))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.