Description Usage Arguments Value Author(s) Examples

View source: R/filterfMRI4KRNS.R

Filters the input matrix using butterworth filtering and time-series trends.

1 2 3 | ```
filterfMRI4KRNS(imat, tr = as.numeric(0.5), filterlowfrequency = 0.1,
filterhighfrequency = 1, trendfrequency = 3, trendfrequency2 = NA,
winsorval = 0.01, removeSentLengthEffects = NA, removeEventOverlap = NA)
``` |

`filterlowfrequency` |
get rid of variation that takes many seconds |

`filterhighfrequency` |
get rid of variation that takes few seconds |

`trendfrequency` |
time series trend option |

`winsorval` |
remove spikes in signal given this winsorization value |

`removeSentLengthEffects` |
nuisance vector of size nrow of matrix |

`removeEventOverlap` |
nuisance vector of size nrow of matrix |

`mat` |
input bold time series matrix |

matrix is output

Avants BB

1 | ```
fmat<-filterfMRI4KRNS( mat )
``` |

stnava/RKRNS documentation built on Aug. 26, 2017, 9:55 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.