Description Usage Arguments Value Examples
View source: R/processingDistances.R
Process data into a dataframe for connections
1 2 3 4 5 6 7 8 | processData(
data,
positions = 0,
studies = 0,
studByTraits = 0,
maxPositions = FALSE,
minSampleSize = 100
)
|
data |
A dataframe of general data |
positions |
An array of cg positions in the new study that wants to be checked, 0 by default - all positions included |
studies |
An array of study names that wants to be checked, 0 by default - all study names included |
studByTraits |
A list of trait names to be filtered by. 0 by default |
maxPositions |
Set to FALSE by Default. If set to TRUE, 900k positions will be used in general |
minSampleSize |
Minimal sample size to be used. Set to 100 by default |
A matrix of positions x studies with TRUE/FALSE values. If a cg position is found in specific study - valuse set to TRUE
1 2 3 | data1 <- processData(data, col)
data1 <- processData(data, col, positions, studies)
data1 <- processData(data, col, positions, minSampleSize = 500)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.